CmdID

CmdID / az / az servicebus / az servicebus namespace / az servicebus namespace identity

az servicebus namespace identity assign

Assign System or User or System, User assigned identities to a namespace Azure CLI reference

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

Assign system assigned and user assigned identity to a namespace. (give a list of identity id's for --user-assigned)

az servicebus namespace identity assign --namespace-name mynamespace -g MyResourceGroup --system-assigned --user-assigned /subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName /subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName2Identify
--namespace-nameName of the Namespace
-gName of resource group.
--system-assignedSystem Assigned Identity
--user-assignedUser Assigned Identity

Options

3 in the Azure CLI reference
--namespace-nameName of the Namespace
--system-assignedSystem Assigned Identity
--user-assignedUser Assigned Identity