Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,482 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
resetPassword false-success (status code 202 on failure)
Hi, I'm using this endpoint to reset the password of a user.
When attempting to change in a way that goes against the organization policy (e.g. more times than allowed in a day, or to a password that doesn't meet the requirements) and the audit log shows a failure, the Graph API endpoint still returns a status code 202, as if the request was successful.
Is this a bug? Is there any way to tell whether such request is successful or not?
Thanks