Choose a Username with password credential. The username is the workspace ID and the password is the workspace key.
You can use the Azure CLI to retrieve the ID and key.
Replace the $resourceGroup
and $workspaceName
placeholders with the required values.
ID: az monitor log-analytics workspace show -g $resourceGroup --workspace-name $workspaceName --query customerId -o tsv
Key: az monitor log-analytics workspace get-shared-keys -g $resourceGroup --workspace-name $workspaceName --query primarySharedKey -o tsv