Authentication methods not available at Graph API and UI

Aristotelis Papantonis 21 Reputation points
2021-10-17T07:35:58.41+00:00

I have an issue with authentication methods on a B2C tenant and more specific with mobile.

While there is an entry on the mobile at the current Azure Portal UI of authentication methods, this entry is not available from GraphAPI (v.1 or beta) (I have available all the right permissions) and the new authentication experience and is not available to take.

140986-old.png

141059-new.png

Now the only way to have it available at GraphAPI (and new experience ) is to enable manually the indicator ( shown in the screenshot) to use the phone as a sign-in method which I do not want anyway because I want it only as MFA.

The more strange are although is beside I tried to turn it on the phone sign in the issue persists.

Also If I create the entry from Graph API also is available as it should be.

Can anyone know if I miss a configuration or is a bug?

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,871 Reputation points Moderator
    2021-10-18T09:32:36.263+00:00

    Hi @Aristotelis Papantonis • Thank you for reaching out.

    This is a known issue with B2C. When you register for MFA via B2C user flow/custom policy, the strong authentication phone doesn't contain a space between country code and the actual phone number. If you add a space manually after the country code, graph call will return the expected result. The B2C Product group is already aware of this issue and working on it. However, there is no ETA as of now for the resolution.

    This is documented here:

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


1 additional answer

Sort by: Most helpful
  1. David Russell 46 Reputation points
    2022-08-10T03:35:53.557+00:00

    Is there an API method to fetch strong authentication phonenumber?

    The portal calls "users()?api-version=1.6-internal" which is inaccessible.

    If not, then I don't see a way to migrate users from one B2C server to another automatically.

    (We are migrating because our B2C server located in Australia is taking up to 9 seconds to respond to requests from Europe - far too slow. We're moving it to USA).

    229784-image.png


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.