CmdID

CmdID / az / az monitor / az monitor log-analytics / az monitor log-analytics workspace / az monitor log-analytics workspace identity

az monitor log-analytics workspace identity assign

Assign the user or system managed identities. Azure CLI reference

3 options Its page in the Azure CLI reference

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

Options

3 in the Azure CLI reference
--mi-system-assigned, --system-assignedSet the system managed identity.
--mi-user-assigned, --user-assignedSet the user managed identities.
--workspace-name, --name, -nName of the Log Analytics Workspace.