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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard