Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Request to add "Manager" and "Division" attributes to Az.Resources module using PowerShell 7 #18205

Closed
MelodyZ654 opened this issue May 17, 2022 · 2 comments · Fixed by #19308 or #19337
Assignees
Labels
AAD AzAd cmdlets in Az.Resources customer-reported feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@MelodyZ654
Copy link

MelodyZ654 commented May 17, 2022

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".

  1. Reporting Manager Name
  2. Division

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

@MelodyZ654 MelodyZ654 added feature-request This issue requires a new behavior in the product in order be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels May 17, 2022
@ghost ghost added customer-reported and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels May 17, 2022
@dingmeng-xue dingmeng-xue added the AAD AzAd cmdlets in Az.Resources label May 17, 2022
@dingmeng-xue
Copy link
Member

@VeryEarly , please evaluate this feature request.

@dingmeng-xue dingmeng-xue added this to the August 2022 (2022-08-02) milestone May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AAD AzAd cmdlets in Az.Resources customer-reported feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
3 participants