CmdID

CmdID / az / az logicapp / az logicapp identity

az logicapp identity assign

Assign a managed identity to a deployed Logic App. Azure CLI extensions reference

Additive: assigning a user-assigned identity leaves an existing system-assigned identity in place. Assigning an identity is only half of enabling an identity-based connection; the identity still needs a data-plane role assignment on the target resource.

2 examples Its page in the Azure CLI extensions 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

Enable the system-assigned identity.

az logicapp identity assign --resource-group orders-rg --name orders-app --system-assignedIdentify
--resource-groupName of resource group containing the Logic App Standard site.
--nameName of the Logic App Standard site.
--system-assignedApply the change to the system-assigned managed identity.

Attach a user-assigned identity.

az logicapp identity assign --resource-group orders-rg --name orders-app --user-assigned /subscriptions/0000/resourceGroups/orders-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/orders-identityIdentify
--resource-groupName of resource group containing the Logic App Standard site.
--nameName of the Logic App Standard site.
--user-assignedOne or more full resource ids of user-assigned managed identities.