Azure role · ai-machine-learning
AzureML Compute OperatorAzure built-in role
Can access and perform CRUD operations on Machine Learning Services managed compute resources (including Notebook VMs).
Read onlyChange some thingsChange anythingGive access to others
Medium risk. It can create, change or delete some resources in scope.
In short: AzureML Compute Operator is an Azure built-in role with 2 actions.
| Role ID | e503ece1-11d0-4e8e-8e2c-7a6c3bf38815 |
|---|---|
| Category | Ai-machine-learning |
| Actions | 2 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.MachineLearningServices/workspaces/computes/* | Every operation under Microsoft.MachineLearningServices/workspaces/computes |
Microsoft.MachineLearningServices/workspaces/notebooks/vm/* | Every operation under Microsoft.MachineLearningServices/workspaces/notebooks/vm |
Assign it
Scope it as tightly as you can: a resource or resource group rather than the whole subscription.
az role assignment create \
--assignee "jane.doe@contoso.com" \
--role "AzureML Compute Operator" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "AzureML Compute Operator" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"What each line does
- Line 1: Creates a role assignment in Azure. Makes a change.
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, 'e503ece1-11d0-4e8e-8e2c-7a6c3bf38815')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'e503ece1-11d0-4e8e-8e2c-7a6c3bf38815')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "e503ece1-11d0-4e8e-8e2c-7a6c3bf38815"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)Other ai-machine-learning roles
- AzureML Metrics Writer (preview) · 1 permission
- Cognitive Services Data Reader · 1 permission
- Cognitive Services Immersive Reader User · 1 permission
- Cognitive Services Usages Reader · 1 permission
- Search Index Data Reader · 1 permission
- AzureML Registry User · 2 permissions
- Cognitive Services Custom Vision Contributor · 2 permissions
- Cognitive Services Custom Vision Trainer · 2 permissions
Find the smallest role for a task →
Link to this page
Writing a guide or answering a question? Copy this link.
<a href="https://azureblog.co.uk/roles/azure/azureml-compute-operator/">AzureML Compute Operator Azure role explained</a>Spotted something out of date or wrong? Tell us and we'll fix it.