Microsoft Graph API - Update phoneMethods is no longer working

Rob 26 Reputation points
2025-01-31T01:45:12.46+00:00

Suddenly my application is no longer able to update phoneAuthenticationMethod. It seems like MS changed the ID for mobile phone type.

Is there a new ID for mobile that I should use when updating phone MFA in Azure B2C?

PATCH https://graph.microsoft.com/v1.0/users/{USERID}/authentication/phoneMethods/3179e48a-750b-4051-897c-87b9720928f7
Content-type: application/json

{
  "phoneNumber": "+1 2065555554",
  "phoneType": "mobile",
}


code: 'resourceNotFound',message: 'The requested authentication method with id [3179e48a-750b-4051-897c-87b9720928f7] was not found for this user, and cannot be updated'
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,003 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 1,425 Reputation points Microsoft Vendor
    2025-01-31T04:22:25.3033333+00:00

    Hi Rob,

    Thanks for reaching out to Microsoft!

    I tried to use phonemethodID 3179e48a-750b-4051-897c-87b9720928f7 for the mobile phoneType and mobile number is changed successfully using Postman with UserAuthenticationMethod.ReadWrite.All application permissions granted to app.User's image

    Similar posts:

    https://learn.microsoft.com/en-us/answers/questions/1098863/azure-ad-b2c-create-update-delete-2fa-phone-authen

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.