Unable to setup MFA for a cloud PC user

Pranav Satija 0 Reputation points
2024-09-05T13:04:52.8833333+00:00

Hi Team,

I'm trying to setup MFA for a cloud PC user but getting a error - Unable to add Phone number. - Phone number cannot be enabled for SMS sign-in because the number is not unique in this tenant. Can you advise how to find the number in tenant which is already in use? Is there a user report which can be generated which is dump of MFA numbers for all user in tenant?

Windows 365 Enterprise
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 49,346 Reputation points Microsoft Vendor
    2024-09-06T02:00:38.0833333+00:00

    @Pranav Satija, Thanks for posting in Q&A. Based on my researching, I find a link describe the following commands to get the Phone number information:

    Get-MgUser -All:$true -PipelineVariable user | ForEach-Object {    Get-MgUserAuthenticationPhoneMethod -UserId $user.UserPrincipalName |        Select-Object @{ N='UserPrincipalName'; E={ $user.UserPrincipalName }}, ID, PhoneNumber, PhoneType}
    

    You can try it. Hope the above command can help.


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.