getting error when reset password of a user in Azure ADB2C using microsoft graph API

Ajay Palsaniya 1 Reputation point
2021-02-22T06:38:29.043+00:00

hi i'm getting an error when i trying to reset password of a user using graph ,using the api https://graph.microsoft.com/beta/users/{ID}/changePassword where id is user id also passing the bearer token in header but getting error says { "error": { "code": "Authorization_RequestDenied", "message": "Access to change password operation is denied.", "innerError": { "date": "2021-02-22T06:17:30", "request-id": "24adc994-82c6-459c-b817-*****", "client-request-id": "24adc994-82c6-459c-b817-3*** } } }

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,668 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 22,086 Reputation points Microsoft Employee
    2021-02-22T22:20:59.18+00:00

    Hi @Ajay Palsaniya , have you tried any of the methods mentioned in this thread? It will help me narrow down what worked and didn't work. We may need to create a support ticket for this but I wanted to see what you tried first. Please let me know.

    Thank you,
    James