Hi,
The error you're encountering—UserAuthenticationException with the message “MicrosoftDynamicsCommerceRuntimeInvalidAudience”—indicates a misconfiguration in the identity provider setup for Microsoft Dynamics 365 Commerce.
The system is unable to validate the audience claim in the authentication token, which is essential for secure communication between services. This typically happens when:
Verify Identity Provider Setup:
Check Relying Party Configuration:
Microsoft Entra ID Logon:
Review Token Claims:
Consult Documentation or Support:
Thanks and best regards, Daniele Note: This response was prepared with support from Copilot to ensure clarity and completeness.
Thank you for sharing the error details. The message you're encountering—Microsoft_Dynamics_Commerce_Runtime_InvalidAudience—suggests that the authentication process is failing due to incorrect audience validation.
Here are a few steps you can take to resolve this:
This type of error often occurs when the token presented during authentication does not match the expected configuration, so reviewing the setup in Retail Headquarters is key.
Please verify if this response was helpful.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Mansi Soni as our August 2025 Community…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohamed Amine Mahmoudi 577 Super User 2025 Season 2
Laurens vd Tang 379 Super User 2025 Season 2
Abhilash Warrier 300 Super User 2025 Season 2