question

sk-0181 avatar image
0 Votes"
sk-0181 asked HetalMadhani-9188 commented

Azure AD B2C MFA saves phone number with incorrect format (without space)


Currently we trying to reset MFA in Azure B2C through Microsoft Graph API. The idea is to delete existing phone number in authentication methods, that at the next login user would be prompt for provide new one. We are using standard built-in user-flows for user login / registration.

The problem is that B2C during MFA registration stores phone number in authentication methods without space between country prefix and phone number (so in Azure Portal it’s +11112223333, and should be +1 1112223333). MFA works fine, but because of this:

  1. we are not able to query for phone number with Graph Api (https://docs.microsoft.com/en-us/graph/api/authentication-list-phonemethods?view=graph-rest-beta&tabs=http ) – GET returns empty array;

  2. we are not able to delete phone number with Graph Api (https://docs.microsoft.com/en-us/graph/api/phoneauthenticationmethod-delete?view=graph-rest-beta&tabs=http) – DELETE returns 404;


One workaround is POST new fake number with correct format through Graph Api and then delete it. Do you know is there better way to reset MFA or force B2C MFA to store phone number in correct format?



azure-ad-b2c
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, we are investigating your issue and will update you shortly.

Best,
James

0 Votes 0 ·
JamesHamil-MSFT avatar image
0 Votes"
JamesHamil-MSFT answered SamMooney-4712 commented

Hi @sk-0181 , we have an issue ticket raised for this that we are working on. When it is finished we will let you know, hopefuly soon!

Best,
James

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JamesHamil-MSFT do you have any status updates o that ticket or anynwhere we can track it?

0 Votes 0 ·

Is there an update on the status? I've been looking but unable to find anything. If there is a link to the ticket or a way we can follow the status, please let us know. Thx - Sam

0 Votes 0 ·
HetalMadhani-9188 avatar image
0 Votes"
HetalMadhani-9188 answered HetalMadhani-9188 commented

Is there any update on this? We are experiencing the same issue.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.