web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

DA1017 - The audience validation failed. while activating Store commerce for Web

(0) ShareShare
ReportReport
Posted on by

Hello,

Getting the following error while activating Store commerce for Web (CPOS).

DA1017 - The audience validation failed. Contact your system administrator to set up identity providers properly in retail headquarters. - If you are using Personnel ID and Password logon, make sure relying parties are correctly configured. - If you are using Azure AD logon, make sure both relying parties and server resource ids are correctly configured.

pastedimage1678709228561v1.png

Notes -

  • We do not have any extensions we use out-of-box commerce.
  • We created the App for Self-hosted commerce scale unit and for it's store commerce for web (CPOS) in Azure.
    • Configured the client ID of this app in D365 under Azure active directory
    • Configured CPOS's client ID in commerce shared parameter > RELYING PARTIES
I have the same question (0)
  • Harald Grannes Profile Picture
    42 on at

    I am getting the same error when calling an API from Postman. I have done the same setup as described in

    learn.microsoft.com/.../consume-retail-server-api

    Error is :

    "TypeName": "UserAuthenticationException",

       "Exception": "{\r\n  \"ErrorResourceId\": \"Microsoft_Dynamics_Commerce_Runtime_InvalidAudience\",\r\n  \"LocalizedMessage\": \"The audience validation failed. Contact your system administrator to set up identity providers properly in retail headquarters.\\r\\n- If you are using Personnel ID and Password logon, make sure relying parties are correctly configured.\\r\\n- If you are using Azure AD logon, make sure both relying parties and server resource ids are correctly configured.\"\r\n}",

  • SnehaS Profile Picture
    on at

    Hi Herald,

    I've raised a case with Microsoft.

    Shall let you know if I manage to fix this.

  • Jolu_itsme Profile Picture
    22 on at

    SnehaS  any news on this? We have the same issue. 

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 284 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 178 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 116 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans