Skip to main content
Community site session details

Community site session details

Session Id : MOnWKRZ15KbZbeg+rFXxo9
Power Automate - Building Flows
Unanswered

reset password - almost there but error: acces token validation failure. Invalid audience

Like (0) ShareShare
ReportReport
Posted on 27 Sep 2023 13:42:52 by

Hello there,

 

I'm busy with building a flow that resets the password of a user. The flow starts manually by me (global admin).
First I generate an acces token (HTTP - Genereer token). The Compose (samenstellen):

@outputs('HTTP_-_Genereer_token').body.access_token

Next I use an HTTP request which resets the password of the given user. 

 

The problem is that I get an error:

"code": "InvalidAuthenticationToken",
"message": "Access token validation failure. Invalid audience."

 

I tried several things to solve the problem (so many I cannot recall), but now i'm running out of options. 

I'm sure there's someone who can help me.

 

2023-09-27_15h27_12.png

2023-09-27_15h36_00.png

  • lbendlin Profile Picture
    8,101 Super User 2025 Season 2 on 28 Sep 2023 at 19:09:26
    Re: reset password - almost there but error: acces token validation failure. Invalid audience

    make sure that your registered app has the required scope

  • AggieB Profile Picture
    on 28 Sep 2023 at 08:44:40
    Re: reset password - almost there but error: acces token validation failure. Invalid audience

    jwt.io says the token is invalid. So now I know why my flow doesn't work. However, I do not know how to get a valid acces token.

  • lbendlin Profile Picture
    8,101 Super User 2025 Season 2 on 27 Sep 2023 at 20:56:26
    Re: reset password - almost there but error: acces token validation failure. Invalid audience

    Investigate the token with jwt.io  - as it says it is likely misconfigured.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Loading complete