question

RisaShereen-0520 avatar image
0 Votes"
RisaShereen-0520 asked saldana-msft edited

Error in password reset in Azure Directory

Hi Team,

I was doing password reset in AD referring the doc-(https://docs.microsoft.com/en-us/graph/api/passwordauthenticationmethod-resetpassword?view=graph-rest-beta&tabs=http) but when we use the post request for the password reset(POST /users/{id | userPrincipalName}/authentication/passwordMethods/{id}/resetPassword) ,we are getting accessDenied error. (Attaching the screenshot of the error )
We have given the api permissions as User.Read , UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All with delegated permission.
We have a Global Administrator role assigned.
221873-screenshot-165-li.jpgCan you please look into the issue.


azure-active-directorymicrosoft-graph-identityazure-ad-user-managementazure-ad-passwordless-authenticationazure-ad-password-protection
screenshot-165-li.jpg (129.7 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Are you trying to reset the password of your own account?

0 Votes 0 ·

Hi @Sheena-MSFT ,

No, I am trying to reset the password of another user.

0 Votes 0 ·

1 Answer

Sheena-MSFT avatar image
0 Votes"
Sheena-MSFT answered Sheena-MSFT edited

Hi @RisaShereen-0520 ,

Per my research I am able to reset password except mine.

221858-reset.png

I would recommend you to raise a support ticket with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from http://aad.portal.azure.com/ or https://admin.microsoft.com/#/support/requests.

Hope this helps.

If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.




reset.png (73.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.