I am trying to configure server-based authentication with Microsoft Dynamics 365 (on-premises) and SharePoint on-premises. I am following the below MS guide
technet.microsoft.com/.../dn949332.aspx
I am getting error when i try to run the following command in powershell
New-SPTrustedSecurityTokenIssuer –Name "crm" –IsTrustBroker:$false –MetadataEndpoint https://CrmServer/XrmServices/2015/metadataendpoint.svc/json?orgName=OrganizationName