ACS Deprecation - What does this mean to you as a 365/CRM developer

30 March 2017
Daniel Cai

There have been some disclosures from Microsoft about the retirement of the Windows Azure Access Control Service (ACS). This blog post tries to help you understand the perspective of the retirement, and the impact to us as Dynamics 365/CRM developers.

Azure ACS was designed to be a cloud-based service that provides an unified authentication and authorization framework which helps with application or service access management. As the overall Azure platform evolves, the ACS framework has proved to have some limitations including security and scalability, among probably some others. For this particular reason, Microsoft has determined that Azure Active Directory is the solution to replace ACS as shared by David Howell in his Technet blog post back in Jun 22, 2013.

Started from sometime last year, Azure team has started to scale down their ACS infrastructure (although I have not come across an official announcement from Azure team - if you happen to see one, please let me know so that I can share here by updating the blog post) to prepare for the complete phase-out of the ACS support.

As a result of the Azure paradigm change, Microsoft Dynamics 365/CRM team has started to remove the dependency of ACS authentication in CRM SDK code started from the SDK's v8.0 release, which was made available in December 2015. The message has never been delivered to the community in a clear way until recently. As the moves become crystal clear today, there are two main impacts for us as a Dynamics 365/CRM developer. 

  • CRM SDK use should be updated to the latest version.
    • To work with Dynamics 365/CRM online, you need to make sure you are using a v8.x version of SDK. The latest version is v8.2.1 which was made available on March 22, 2017 (When you read this blog post, it is possible that the version you see from the link is even newer).
    • If you application depends on a 6.0 SDK library (which corresponds to Dynamics CRM 2013), you will need to use the the latest v6.1.2 assemblies (NuGet package) - this is particularly an issue if you are using an ISV solutions that may not be actively maintained any more - in which case you can simply just replace the assemblies.
  • If you have any ACS service endpoints created using CRM plugin registration tool, you need to make sure that you have updated the service endpoint to use SAS instead - which is the new authentication model to work with Azure Service Bus.

When you use an old SDK assembly to talk to your Dynamics 365/CRM instance, you will receive the following error message: "There was no endpoint listening at https://login.microsoftonline.com/RST2.srf that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details". When you receive this error message, you need to make sure you have the SDK assemblies updated.

Note that this change only matters to you if you are working with Dynamics 365/CRM Online. If you are still using Dynamics 365/CRM on-premises, it is up to your decision whether you want to upgrade the SDK assemblies that you might depend on in your development projects.

Archive

November 2024 3 October 2024 1 September 2024 1 August 2024 2 July 2024 1 June 2024 1 May 2024 1 April 2024 2 March 2024 2 February 2024 2 January 2024 2 December 2023 1 November 2023 1 October 2023 2 August 2023 1 July 2023 2 June 2023 1 May 2023 2 April 2023 1 March 2023 1 February 2023 1 January 2023 2 December 2022 1 November 2022 2 October 2022 2 September 2022 2 August 2022 2 July 2022 3 June 2022 2 May 2022 2 April 2022 3 March 2022 2 February 2022 1 January 2022 2 December 2021 1 October 2021 1 September 2021 2 August 2021 2 July 2021 2 June 2021 1 May 2021 1 April 2021 2 March 2021 2 February 2021 2 January 2021 2 December 2020 2 November 2020 4 October 2020 1 September 2020 3 August 2020 2 July 2020 1 June 2020 2 May 2020 1 April 2020 1 March 2020 1 February 2020 1 January 2020 1 December 2019 1 November 2019 1 October 2019 1 May 2019 1 February 2019 1 December 2018 2 November 2018 1 October 2018 4 September 2018 1 August 2018 1 July 2018 1 June 2018 3 April 2018 3 March 2018 3 February 2018 3 January 2018 2 December 2017 1 April 2017 1 March 2017 7 December 2016 1 November 2016 2 October 2016 1 September 2016 4 August 2016 1 June 2016 1 May 2016 3 April 2016 1 August 2015 1 April 2015 10 August 2014 1 July 2014 1 June 2014 2 May 2014 2 February 2014 1 January 2014 2 October 2013 1 September 2013 2 August 2013 2 June 2013 5 May 2013 2 March 2013 1 February 2013 1 January 2013 1 December 2012 2 November 2012 2 September 2012 2 July 2012 1 May 2012 3 April 2012 2 March 2012 2 January 2012 1

Tags