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-AzureADServiceAppRoleAssignment cannot get the existing User #2

Closed
EdwardCKC opened this issue Sep 6, 2021 · 0 comments
Closed
Labels
needs-investigation Needs further investigation

Comments

@EdwardCKC
Copy link

I use azure runbook,
Grant right:
Access control

  • User access administrator
  • contributor
    -application administrator

Still cannot get the existing user by Get-AzureADServiceAppRoleAssignment
which the $existingUsers is empty

But I run the script fully success on localhost by using Credential.

Am I missed any permission needed?

Get-AzureADuser,Get-AzureADServicePrincipal,Get-AzureADUser,New-AureADUserAppRoleAssignment: All work

Only Get-AzureADServiceAppRoleAssignment not work.

@Ruud-Mens Ruud-Mens added the needs-investigation Needs further investigation label Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-investigation Needs further investigation
Projects
None yet
Development

No branches or pull requests

3 participants