Retrieve phoneMethods for existing users

Andreas Mavromichalis 1 Reputation point
2021-07-29T09:55:32.88+00:00

Hi,

This is related to the beta version of authentication/phoneMethods

I can add a phone authentication to a user and then retrieve it using 'https://graph.microsoft.com/beta/users/xxxxxxxxxxxx/authentication/phoneMethods'

But when i try to retrieve the phone methods from a user that has added the phone number directly during the signup flow process I get this
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#users('xxxxxxxxxxxx')/authentication/phoneMethods",
"value": []
}

Does this have something to do that is still in beta or I'm I missing something?

Thank you

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,858 questions
0 comments No comments
{count} votes