360man
360man

Reputation: 359

How to remove an Azure role assignment from a managed identity?

In the Azure role assignments section of a managed identity there is only a button to add role assignments. There doesn't appear to be a way to remove a role assignment once it's been added.

Upvotes: 8

Views: 7696

Answers (2)

Blank
Blank

Reputation: 70

To remove the Role I went to the resource group, then to Access Control (IAM), Roles tab, then clicked View against the Contributor role, then to the Assignments tab, and was then able to click the trash can button against the user I was looking to modify.

Upvotes: 1

Matthew
Matthew

Reputation: 694

The role assignment can be removed as you would remove role assignments to other principal types. In the Portal, navigate to the scope where the role assignment was created, and use the Access Control (IAM) menu to find and remove the assignment. Azure CLI or PowerShell could also be used.

Upvotes: 7

Related Questions