eciruam's avatar
eciruam
Copper Contributor
Sep 24, 2021
Status:
New

passwordAuthenticationMethod: resetPassword as application without delegation

Currently it is not supported and possible to reset a user password using the GraphAPI as a service principal.
passwordAuthenticationMethod: resetPassword - Microsoft Graph beta | Microsoft Docs

 

We have tried according this blog post (add the Helpdesk Administrator role to the service principal)
How to Reset Or Update User Passwords with Microsoft Graph In Azure AD | Medium | Level Up Coding (gitconnected.com)
but the response is:

{\"error\":{\"code\":\"BadRequest\",\"message\":\"UserPrincipalName value in token was missing or invalid\"
Which confirms the docs page I guess.

Are there any plans to expand these permissions so it is possible to reset the password programmatically using application permissions? We want to create a daemon app to perform this task.
No CommentsBe the first to comment