Error in password reset in Azure Directory

Risa Shereen 71 Reputation points
2022-07-18T11:04:39.95+00:00

Hi Team,

I was doing password reset in AD referring the doc-(https://learn.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.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,675 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,595 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Sheena-MSFT 1,731 Reputation points
    2022-07-18T12:27:23.663+00:00

    Hi @Risa Shereen ,

    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.

    0 comments No comments