Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

“Authorization_RequestDenied... Insufficient privileges to complete the operation" error when you run Azure PowerShell cmdlets


View products that this article applies to.

Symptoms

When you run Azure PowerShell cmdlets, you receive an error message that resembles the following:

Get-AzureADUser : {"odata.error":{"code":"Authorization_RequestDenied","message":{"lang":"en","value":"Insufficient privileges to complete the operation."}}}

↑ Back to the top


Cause

This problem occurs because the user account that is being used to run the Azure PowerShell cmdlets does not have the correct administrator role.

↑ Back to the top


Resolution

To resolve this problem, use one of the following methods:
  • Run the PowerShell cmdlets by using a user account that has the correct administrator role.
  • Promote the problem user account to the correct administrator role.

For example you may be required to have a global administrator role in the Azure Active Directory in order to run the cmdlets.

↑ Back to the top


Keywords: kbprb, kbexpertiseinter, kbsurveynew, azuread, vkbportal343, kb

↑ Back to the top

Article Info
Article ID : 3072417
Revision : 1
Created on : 1/7/2017
Published on : 8/14/2015
Exists online : False
Views : 367