[Feature]: Request to add "Manager" and "Division" attributes to Az.Resources module using PowerShell 7 #18205
Labels
AAD
AzAd cmdlets in Az.Resources
customer-reported
feature-request
This issue requires a new behavior in the product in order be resolved.
Milestone
Description of the new feature
We need to get a complete list of Azure AD users, but two important attributes "Manager " and "Division" are not showing up using command "Get-AzADUser -ObjectId 000000000000 -Select 'Manager,Division' -AppendSelected | fl".
Environment: Az.Resources module 5.6.0 with PowerShell 7.2.3
I raised a ticket in Github #18120 and got confirmation that the "Manager" attribute was moved on purpose. I can find the two attributes in the list of allowed properties of AdUser from api-spec of MSGraph https://github.com/microsoftgraph/msgraph-sdk-powershell/blob/8a3a01a78f8701c031c661ee488895f73cc0e032/openApiDocs/v1.0/Users.yml#L447, but could not know how to configure them with "New-AzADUser" nor retrieve them with "Get-AzADUser" . Please help add the two attributes to the next Az.Resources version with PS 7.
https://docs.microsoft.com/en-us/powershell/module/az.resources/new-azaduser?view=azps-7.5.0
Proposed implementation details (optional)
No response
The text was updated successfully, but these errors were encountered: