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

Get-EntraUserManager ignores Property parameter #1090

Closed
MartinM85 opened this issue Sep 17, 2024 · 3 comments · Fixed by #1099
Closed

Get-EntraUserManager ignores Property parameter #1090

MartinM85 opened this issue Sep 17, 2024 · 3 comments · Fixed by #1099
Labels

Comments

@MartinM85
Copy link

Checking some part of the script. If Property parameter is specified then $URI should contain $select with properties, but $URI is overridden by

$URI = "https://graph.microsoft.com/v1.0/users/$($params.UserId)/manager?`$select=*"

https://github.com/microsoftgraph/entra-powershell/blob/main/module/Entra/customizations/Get-EntraUserManager.ps1#L19-L31

@snehalkotwal
Copy link
Collaborator

@MartinM85 Thank you for raising the bug, We are looking into it.

@SteveMutungi254
Copy link
Contributor

@MartinM85 : Could you confirm if the fixes are Ok as the original poster?

@MartinM85
Copy link
Author

@SteveMutungi254 The fix looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants