Reset Password Graph API route always requires user to change password on first login

Luiz Thomaz 1 Reputation point
2022-09-12T16:31:23.083+00:00

We have created an account for reseting password with Authentication Admin role for it.

We are able to reset user's password with success everytime whe try to reset without the "requireChangeOnNextSignIn" flag, but if we try using it with 'false' value, we get an error telling about the flag being not available.
240212-image.png

Also, if we try to pass the same parameter with 'true' value, it gets accepted. But this is the same behavior as not sending the parameter and it is not useful to our project development.

Does anyone have any clue about this?

We are following this documentation: https://learn.microsoft.com/en-us/graph/api/authenticationmethod-resetpassword, using V1.0 route.

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

2 answers

Sort by: Most helpful
  1. Mark 6 Reputation points
    2022-11-14T02:42:08.06+00:00

    Is this issue is still not resolved?

    1 person found this answer helpful.

  2. JamesTran-MSFT 36,496 Reputation points Microsoft Employee
    2022-09-12T21:07:39.63+00:00

    @Luiz Thomaz
    Thank you for your post!

    When using the authenticationMethod: resetPassword Graph REST API, I ran into the same issue. When passing the requireChangeOnNextSignIn parameter in the request body and setting it to false, I ran into a Forbidden error, even though not passing the parameter would essentially be the same as setting it to false.

    240190-image.png

    I've reached out to my team and our engineering team to see if they can look into this and share any insights.

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.