CmdID

CmdID / az / az policy / az policy assignment / az policy assignment identity

az policy assignment identity remove

Remove the managed identity. Azure CLI reference

Remove the system or user assigned managed identity from the policy assignment matching the given name and scope.

1 example 3 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Remove user assigned managed identity from a policy assignment

az policy assignment identity remove --name MyPolicyAssignment --user-assignedIdentify
--user-assignedRemove the user managed identity.

Options

3 in the Azure CLI reference
--mi-system-assigned, --system-assignedRemove the system managed identity.
--mi-user-assigned, --user-assignedRemove the user managed identity.
--scope, --name, -n