Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

狀況

當您執行 Azure PowerShell cmdlet 時,您會收到類似下列的錯誤訊息︰

取得 AzureADUser: {"odata.error":{"code":"Authorization_RequestDenied","message":{"lang":"en","value":"Insufficient 權限來完成作業。 」}}}

原因

因為用來執行 Azure PowerShell cmdlet 的使用者帳戶沒有正確的系統管理員角色,就會發生這個問題。

解決方案

若要解決這個問題,請使用下列方法之一︰

  • 使用具有正確的系統管理員角色的使用者帳戶,以執行 PowerShell cmdlet。

  • 升級問題的使用者帳戶,為正確的系統管理員角色。


例如您可能必須具有 Azure 的 Active Directory 中的全域管理員角色,才能執行指令程式。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×