In this webinar, our experts showcase a variety of demo use cases of how different components of the...
After the release of update 1 to Dynamics 365 (Dynamics CRM Online 2016), you may see an error when attempting to access the OAuth endpoint. Today's blog will help you learn why this error is occurring and how to work around the issue.
The Error Message
ACS50000: There was an error issuing a token. ACS50001: Relying party with identifier 'https://instance.api.crm.dynamics.com/' was not found.
Why the Error?
Microsoft has made a change to the way third-party applications connect and authenticate to the Dynamics 365 and CRM 2016 programmatically. This change involves the deprecation of the traditional OAuth endpoint that has been around since CRM 2011 in lieu of a new Web API that offers support for a greater array of programming languages, platforms, and devices. With the newest update issued to Dynamics 365 (formerly Dynamics CRM Online) in 8.1.0.362 and CRM Microsoft Dynamics CRM 2016 Service Pack 1 in 8.1.0, the OAuth endpoint is considered deprecated, but not officially unsupported.
The Solution
With that in mind, it is possible to request a temporary workaround be granted to the organization which can allow the developer(s) time to update their code to utilize the new Web API. The workaround involves submitting a ticket with Microsoft requesting the endpoint be added. There are a few things to note with this type of request. The Support Engineer that will be assigned to the support request will need to raise an internal ticket with their infrastructure team to request the endpoint be added. This request can take a few days before it is complete. In addition, each time you refresh your sandbox organization, you will need to submit a request to have performed again. If you would prefer, you can also open a support request with our PowerObjects Support Team and we can assist in getting this taken care of for you by working with Microsoft.
Below, you will find some helpful links regarding articles published by Microsoft on this subject:
Walkthrough: Update a service endpoint from ACS to SAS authorization: https://msdn.microsoft.com/en-us/library/mt728940.aspx
Azure integration with Microsoft Dynamics 365: https://msdn.microsoft.com/en-us/library/gg334766.aspx
Updates to the Dynamics 365 SDK assemblies: https://msdn.microsoft.com/library/dn281891.aspx#bkmk_assemblyUpdates
Release history for SDK Version 8.2.0, November 2016: https://msdn.microsoft.com/en-us/library/dn481567.aspx#bkmk_820
Happy Dynamics 365'ing!