Replies: 2 comments 1 reply
-
I haven't tried this yet, but kudos for including the function to remove diacritic characters! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Awesome function 👏 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This function will make it easy to create a new cloud user.
All you have to do is load the function and use the command New-EntraUser -GivenName Dennis -Surname Johansson
This will create the user Dennis Johansson with the tenants primary domain as the UserPrincipalName.
You could also edit the ValidateSet in the param block and fill out with your own custom domains and use the function with multiple custom domains.
Did not think about existing users at all, if a user has the same UPN as what you are trying to create the new user will receive a number after the name, it will continue to check until it finds one that is free.
Beta Was this translation helpful? Give feedback.
All reactions