Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

HTTP patch Dataverse 401 error IDX10214: Audience validation

(0) ShareShare
ReportReport
Posted on by 97

Hello,


I am trying to update a record in Dataverse with an HTTP action but this goes wrong with a 401 error as a result. The error message is IDX10214: Audience validation.

 

RobMolenaar_0-1713425580015.png

I have created an App registration with a client secret.
I think I have entered all the details correctly in the HTTP action.

RobMolenaar_1-1713425733847.png

The fields are dynamically filled from a compose action:

RobMolenaar_2-1713425882361.png

 

 

 

 

  • Verified answer
    RobMolenaar Profile Picture
    97 on at
    Re: HTTP patch Dataverse 401 error IDX10214: Audience validation

    Solved! I had to add an Application User to the Dataverse Environment as Service Writer.
    Thank you @v-xiaochen-msft  for helping!

  • RobMolenaar Profile Picture
    97 on at
    Re: HTTP patch Dataverse 401 error IDX10214: Audience validation

    Thank you for your reply @v-xiaochen-msft ,

    I changed the audience. Now i am getting the following error message:

        "code""0x80072560",
        "message""The user is not a member of the organization."
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: HTTP patch Dataverse 401 error IDX10214: Audience validation

    Hi @RobMolenaar ,

     

    If I remember correctly, the audience value should be https://tenantname.crm*.dynamics.com

     

    Best Regards,

    Wearsky

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >