This article applies to Microsoft Dynamics AX for all regions.
When you deploy Enterprise Portal for Microsoft Dynamics AX 2012 R2 in an environment that has the ASP.NET impersonation and the claims-based authentication enabled, the deployment fails. Additionally, you receive the following error message:
This problem occurs because Microsoft SharePoint Products and Technologies cannot impersonate either the Microsoft .NET Business Connector (BC) proxy account or a registered account in Microsoft Dynamics AX. By default, the SharePoint worker process runs as the NT Authority\IUSR user account when the claims-based authentication is enabled. Additionally, the SharePoint web application has the following configuration setting in the Web.config file:
AllowAnonymousImpersonation = TrueTherefore, the Microsoft Dynamics AX application object server (AOS) denies the request to access the AOS.
To resolve this problem, install the hotfix that is described in the "Hotfix information" section. Additionally, you must deploy claims-based Enterprise Portal sites that use forms-based authentication as described in the following Microsoft website:
Hotfix informationA supported hotfix is available from Microsoft. There is a "Hotfix download available" section at the top of this Knowledge Base article. If you are encountering an issue downloading, installing this hotfix, or have other technical support questions, contact your partner or, if enrolled in a support plan directly with Microsoft, you can contact technical support for Microsoft Dynamics and create a new support request. To do this, go to the following Microsoft website:
Installation informationIf you have customizations for one or more of the methods or the tables that are affected by this hotfix, you must apply these changes in a test environment before you apply the hotfix in a production environment.
For more information about how to install this hotfix, click the following article number to view the article in the Microsoft Knowledge Base:
893082 How to install a Microsoft Dynamics AX hotfix
PrerequisitesYou must have Microsoft Dynamics AX 2012 R2 installed to apply this hotfix.
Restart requirementYou must restart the Application Object Server (AOS) service after you apply the hotfix.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Article ID: 2824690 - Last Review: 17 Feb 2017 - Revision: 2
Microsoft Dynamics AX 2012 R2, Enterprise Portal Framework