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

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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard