Closed EdwardCKC closed 9 months ago
I use azure runbook, Grant right: Access control
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.
I use azure runbook, Grant right: Access control
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.