Change the AzureAD/Username

Nathanael Woodhead 111 Reputation points
2020-11-13T18:55:15.12+00:00

I have an AzureAD/username that has an illegal character in it. It keeps breaking scripts and is a general pain. Is there a way to get the name to change?

This is the same name that controls the name of the home folder when you login to a computer.

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

1 answer

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    2020-11-13T19:30:02.853+00:00

    Hi @Nathanael Woodhead , I think that would be the displayName or userPrincipalName. You can use the Set-AzureADUser cmdlet to do change them.

    Let us know if this answer was helpful to you. If so, please remember to mark it as the answer so that others in the community with similar questions can more easily find a solution.


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.