CmdID

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

az policy assignment identity show

Retrieve the managed identity. Azure CLI reference

Retrieve and show the details of the system or user assigned managed identity of the policy assignment matching the given name and scope.

1 example 1 option 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

Show a policy assignment's managed identity

az policy assignment identity show --name MyPolicyAssignment --scope '/providers/Microsoft.Management/managementGroups/{managementGroupName}'Identify

Options

1 in the Azure CLI reference
--scope, --name, -n