CmdID

CmdID / az / az connectedmachine / az connectedmachine identity

az connectedmachine identity assign

Assign the user or system managed identities. Azure CLI extensions reference

2 examples 4 options 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

sample command for identity assign

az connectedmachine identity assign --resource-group myResourceGroup --machine-name myMachineIdentify
--resource-groupName of resource group.
--machine-nameThe name of the hybrid machine.

Sample command for identity assign

az connectedmachine identity assign --resource-group myResourceGroup --machine-name myMachineIdentify
--resource-groupName of resource group.
--machine-nameThe name of the hybrid machine.

Options

4 in the Azure CLI extensions reference
--expandThe expand expression to apply on the operation.
--machine-name, --name, -nThe name of the hybrid machine.
--mi-system-assigned, --system-assignedSet the system managed identity.
--mi-user-assigned, --user-assignedSet the user managed identities.