cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dtjm
Advocate I
Advocate I

Permissions required to change users password with Invoke an HTTP Request - HTTP with Azure AD

I am trying to use the premium action "Invoke an HTTP Request - HTTP with Azure AD" to reset a users password.

 

The user of the Flow and this actions Connection has the following Azure AD Roles:
- Global administrator
- Helpdesk administrator
- Password administrator

 

error: {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation."

 

What Role or permissions does the user need?

 

2020-11-13_151322.png

 

2 REPLIES 2
rubengonzalez
Frequent Visitor

do you find a way for it to work? can you give me the script?

Syed_Ahmad_
Frequent Visitor

Hi @dtjm ,

 

Please add these API Permission:'

Delegated

Organization.Read.All
Directory.Read.All
Directory.AccessAsUser.All


Applicattion

Organization.Read.All
Directory.Read.All

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (6,989)