79431558

Date: 2025-02-11 23:41:36
Score: 2
Natty:
Report link

I have recently implemented this feature by following the steps outlined below.

Please ensure that the following permissions are enabled in your B2C application.

1- User-PasswordProfile.ReadWrite.All

2- UserAuthenticationMethod.ReadWrite.All

Generate a token by making a request to the endpoint provided below in order to interact with the Graph API. Graph API Token Endpoint

Call the endpoint provided below to update the user data. Password Reset Endpoint with headers

The request body should include the new password in the "Password" field. Password Reset Endpoints with body

For additional guidance, please refer to the resources provided below.

https://learn.microsoft.com/en-us/graph/api/user-update?view=graph-rest-1.0&tabs=http

https://learn.microsoft.com/en-us/graph/api/resources/passwordprofile?view=graph-rest-1.0

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muhammad Zeeshan