Azure / Azure/azure-powershell
New-AzADUser parameter "-MobilePhone" does not work
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Type of issue
Code doesn't work
### Feedback
Trying to create a new entra ID user with the "new-azaduser" cmdlet in az.resources module does not work. Even though the documentation states it should work. The error I get is: A parameter cannot be found that matches parameter name 'MobilePhone'
ive tried "-Mobile" and "-MobilePhone" and none works. Tried phonenumber without country code, with countrycode, with and without spaces, etc.
### Page URL
https://learn.microsoft.com/en-us/powershell/module/az.resources/new-azaduser?view=azps-11.6.0
### Content source URL
https://github.com/Azure/azure-powershell/blob/main/src/Resources/Resources/help/New-AzADUser.md
### Author
@mikefrobbins
### Document Id
0d7c5272-5f68-fea8-954e-0fcc3cb8e2c0
Contributor guide
Assessment
This issue has not been assessed yet.