Acumatica and Azure AD: Issues with Azure AD Integration and SSO within web.config

  • 29 April 2022
  • 0 replies

Hi All,

we try to configure Azure AD as IDP and SSO for our Acumatica/Haufe X360 Instance.

Right now in a Test Instance.

If I follow the instructions here We get an Error:

Integrating Acumatica ERP with Azure Active Directory


Error Message:

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: An exception was thrown while activating λ:PX.Data.Access.ActiveDirectory.IActiveDirectoryProvider.

Source Error:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Source File: C:\X360\X360-004\Website\Files\web.config    Line: 122

Click here to show additional error information:

Exception Details: System.ArgumentException: Requested value 'MicrosoftGraph' was not found.


We tried to find out what happens but till now with no luck. The line of the web.config which the error message reffers to is the following (Line 122 in our web.config):

      <add applicationName="/" name="PXActiveDirectorySyncRoleProvider" type="PX.Data.PXActiveDirectorySyncRoleProvider" mainProviderType="PX.Data.PXDatabaseRoleProvider" />


Till I switch back those lines (sure filled with the original values in our environment ;) ) Acumatica will not load at all.


<activeDirectory     enabled="true"    protocol="MicrosoftGraph"     path="Azure_Instance_Tenant_ID"     dc="Azure_Domain_Name"    user="ApplicationClientID"     password="ClientSecret" />


Maybe we do something wrong or something is missing on the IIS Server?


I’m thankful for any idea :)




0 replies

Be the first to reply!


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved