Just to brief, we are using Dynamics CRM 2016 online, and ADX site is hosted on Azure.

Scenario

We had a requirement from the customer to make DEV environment as production baseline. After Comparing DEV with production, we observed that a lot of clean-up has to be performed in DEV to make it in sync with production which is a tedious and time consuming task. As we know, Dynamics CRM online keeps only 3 day’s backup (unless explicitly requested to Microsoft to take one). We didn’t find any previous versions of Sandbox DEV backup. After complete analysis, we decided to restore production CRM database in DEV Sandbox and observed everything else looked good except ADX. The ADX site was broken when we tried to reconfigure ADX site to point to DEV.  ACS50000 error screen is below.

Resolution to fix ADX Portal Issue - ACS50000 There was an error issuing a token ACS50001

What next?

We raised a ticket with Microsoft to check any validation issues with CRM federation service. On the next day, we got the response back from Microsoft saying the issue is fixed and details as per below.

Root cause of the issue

ACS (Audit Collection Service) was deprecated by Azure. Creating an ACS enabled Service bus is practically impossible with the current Azure SDK and PowerShell Scripts. Utilization of this feature was for all intents and purposes null (under 100 orgs in ALL of the deployments had a working service bus endpoint deployed).

Fix

Run a CRMLive command to add federation to Dynamics CRM in back end team to resolve the issue.

For more details, please refer to below links:

Deprecation announcements with Dynamics CRM Online 2016 Update 1 and Microsoft Dynamics CRM 2016 Service Pack 1

Updates to the Dynamics 365 SDK assemblies

Release history

Conclusion

If you face similar ACS50000 issue and don’t want to spend too much time on it (unless if you decide to resolve the issue on your own 🙂 ), raise a ticket with Microsoft and see if Microsoft resolves the issue. Please note, you may or may not end up with a similar resolution. This may be one of the fixes for such issue.