Azure / Azure/azure-powershell

New-AzADUser parameter "-MobilePhone" does not work

Open
#24,912 2 comments 0 reactions 0 assignees View on GitHub
act-identity-squad Azure PS Team customer-reported Graph Graph.Windows potential-pruning Tracking
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.