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 / Permision/authenticate...
Power Automate
Answered

Permision/authenticate Graph HTTPS for https://docs.microsoft.com/en-us/rest/api/securitycenter/jit-network-access-policies/initiate

(0) ShareShare
ReportReport
Posted on by 92

Hi,

  This is the Grpah aPI I'm having trouble with: Jit Network Access Policies - Initiate - REST API (Azure Security Center) | Microsoft Docs

   I'm trying to call this GRAPH API and I always get "Authentication Failed". I don't know what other type of permission the app identity needs. I granted for now all the GRAPH API... because I did not know what to else to assing...I'm able to get a TOKEN manually and I even tried the "Authentication" in advance options with the secret but I get the same "Authentication failed."

 

 Anyone has solved how to call this API and what Permission it needs? 

 

  If I execute this from the documentation "Try it" it does work. So...not sure...

 

  I did call other methods using the Advance option and manual bearer and it worked...so not sure...

Categories:
I have the same question (0)
  • Verified answer
    drako Profile Picture
    92 on at

    GOT it SOLVED. 2 things:

    1) I was using the graph as the scope when I requested the TOKEN, you should use the management.azure.com

    2) I created an identity principal and with this  identity it worked. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard