I am back again and trying this integration again !! - We have Dynamics CRM 2016 and SharePoint 2016 - both on-premise. I am trying to integrate the two by following this article: - https://technet.microsoft.com/en-us/library/dn949332.aspx. My CRM is an IFD deployment with ADFS and WAP.
I am stuck on the following command New-SPTrustedSecurityTokenIssuer –Name "crm" –IsTrustBroker:$false –MetadataEndpoint https://MyCrmServerhostname/XrmServices/2015/metadataendpoint.svc/json?orgName=MyOrganizationName which gives the error as follows:
New-SPTrustedSecurityTokenIssuer : The security token service metadata document could not be parsed.
At line:1 char:1
+ New-SPTrustedSecurityTokenIssuer -Name "crm" -IsTrustBroker:$false -M ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...rityTokenIssuer:SPCmdletNewTrustedSecurityTokenIssuer) [
New-SPTrustedSecurityTokenIssuer], InvalidOperationException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewTrustedSecurityTokenIssuer
If I enter the MetadataEndpoint in IE it asks if I want to save or open json.json.
I have exhausted Google to find a solution. Can anyone help me here - I am now desparate!!
*This post is locked for comments