Insufficient privileges for AzAd commands in Az.Resources preview #16443
-
I'm trying out the Az.Resources v5.0.0 preview module and I'm getting the "Insufficient privileges to complete the operation" error from the AAD commandlets. I know how to grant GraphAPI permissions to a service principal, but I'm trying to connect interactively from a local PowerShell session with a user account. That account has the GA role in the tenant, but I'm not sure how to grant GraphAPI permissions to it. Any suggestions. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@Ben424242 , could you try Az.Resources 5.0 preview again. We adjust the permission of Azure PowerShell. If account can manage AD feature via Portal, current account should has sufficient permission and can work with Azure PowerShell as well. If you still hit the problem, please let us know. |
Beta Was this translation helpful? Give feedback.
@Ben424242 , could you try Az.Resources 5.0 preview again. We adjust the permission of Azure PowerShell. If account can manage AD feature via Portal, current account should has sufficient permission and can work with Azure PowerShell as well.
If you still hit the problem, please let us know.