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
*This post is locked for comments
Hi Andreas,
I have already tried those troubleshootings. But My problem not yet solved.
Any other suggestions?
technet.microsoft.com/.../dn946906.aspx
You receive “The remote server returned an error: (400) Bad Request” and “Register-SPAppPrincipal: The requested service, 'wgwitsp/.../AppMng.svc&; could not be activated” error messages
Applies to: SharePoint on-premises versions used with Microsoft Dynamics 365.
The remote server returned an error: (400) Bad Request error message can occur after the certificate installation, such as when you run the CertificateReconfiguration.Ps1 script.
The Register-SPAppPrincipal: The requested service, 'wgwitsp/.../AppMng.svc&; could not be activated error message can occur when you grant Microsoft Dynamics 365 permission to access SharePoint by running the Register-SPAppPrincipal command.
To resolve both of these errors after they occur, restart the web server where the Microsoft Dynamics 365 web application is installed. More information: Start or Stop the Web Server (IIS 8)
Here is a similar topic?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156