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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create an Event in the...
Power Automate
Unanswered

Create an Event in the M365 record management using flow - Error Access token validation failure. Invalid audience.

(0) ShareShare
ReportReport
Posted on by 204

Hi All,

 

I'm trying to create an event in M365 record management using Microsoft Graph Records Management API . The scenario is, that when a project "close" the PM will go to the active projects list and change the status column from Actrive to close, then the workflow kicks in and create an event in the M365 record management portal.  The following workflow has been built as shown following screenshots, and when I run this I'm getting "Access token validation failure. Invalid audience." errors as shown on the last screenshot. 

Can someone please help me with this. 

 

NewNW_0-1700435849634.png

 

NewNW_1-1700435949401.png

 

 

NewNW_2-1700435976250.pngNewNW_3-1700436043542.png

 

Categories:
I have the same question (0)
  • JonDoesFlow Profile Picture
    1,304 on at

    Click show advanced options on the HTTP action that is failing and ensure that you have https://graph.Microsoft.com set in the Audience field. 

    ---------------------------------------------------------------------------


    If I have helped you with an answer, please accept this post as a solution and thumbs up my reply. Thanks !

    Blog - JonDoesFlow
    Twitter - JonDoesFlow
    YouTube - JonDoesFlow

  • NewNW Profile Picture
    204 on at

    @Jondoesflow Thank you very much.

    I m getting the following now, any thoughts please? 

    Error</h1></div>
    <div id="content">
    <div class="content-container"><fieldset>
    <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>
    <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>
    </fieldset></div>

  • JonDoesFlow Profile Picture
    1,304 on at

    You would need to check the app registration you have created has the correct API Permissions in the Azure Portal for Graph

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard