← cd ~/roles
// roles/azure · storage
Data Lake Analytics DeveloperAzure built-in role
Lets you submit, monitor, and manage your own jobs but not create or delete Data Lake Analytics accounts.
| Role ID | 47b7735b-770e-4598-a7da-8b91488b4c88 |
|---|---|
| Category | Storage |
| Actions | 8 (minus 14 NotActions) |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.Authorization/*/read | Any read operation on anything under Microsoft.Authorization |
Microsoft.BigAnalytics/accounts/* | Every operation under Microsoft.BigAnalytics/accounts |
Microsoft.DataLakeAnalytics/accounts/* | Every operation under Microsoft.DataLakeAnalytics/accounts |
Microsoft.Insights/alertRules/* | Every operation under Microsoft.Insights/alertRules |
Microsoft.ResourceHealth/availabilityStatuses/read | Gets the availability statuses for all resources in the specified scope |
Microsoft.Resources/deployments/* | Every operation under Microsoft.Resources/deployments |
Microsoft.Resources/subscriptions/resourceGroups/read | Gets or lists resource groups. |
Microsoft.Support/* | Every operation under Microsoft.Support |
Can't do
These are taken away from the actions above.
| Permission | What it allows |
|---|---|
Microsoft.BigAnalytics/accounts/Delete | |
Microsoft.BigAnalytics/accounts/TakeOwnership/action | |
Microsoft.BigAnalytics/accounts/Write | |
Microsoft.DataLakeAnalytics/accounts/Delete | Delete a DataLakeAnalytics account. |
Microsoft.DataLakeAnalytics/accounts/TakeOwnership/action | Grant permissions to cancel jobs submitted by other users. |
Microsoft.DataLakeAnalytics/accounts/Write | Create or update a DataLakeAnalytics account. |
Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts/Write | Create or update a linked DataLakeStore account of a DataLakeAnalytics account. |
Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts/Delete | Unlink a DataLakeStore account from a DataLakeAnalytics account. |
Microsoft.DataLakeAnalytics/accounts/storageAccounts/Write | Create or update a linked Storage account of a DataLakeAnalytics account. |
Microsoft.DataLakeAnalytics/accounts/storageAccounts/Delete | Unlink a Storage account from a DataLakeAnalytics account. |
Microsoft.DataLakeAnalytics/accounts/firewallRules/Write | Create or update a firewall rule. |
Microsoft.DataLakeAnalytics/accounts/firewallRules/Delete | Delete a firewall rule. |
Microsoft.DataLakeAnalytics/accounts/computePolicies/Write | Create or update a compute policy. |
Microsoft.DataLakeAnalytics/accounts/computePolicies/Delete | Delete a compute policy. |
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 "Data Lake Analytics Developer" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Data Lake Analytics Developer" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, '47b7735b-770e-4598-a7da-8b91488b4c88')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '47b7735b-770e-4598-a7da-8b91488b4c88')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "47b7735b-770e-4598-a7da-8b91488b4c88"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)Other storage roles
- Azure File Sync Reader · 1 permission
- Storage Blob Delegator · 1 permission
- Storage File Data SMB Share Reader · 1 permission
- Storage File Data SMB Take Ownership · 1 permission
- Storage File Delegator · 1 permission
- Storage Queue Data Message Sender · 1 permission
- Storage Queue Delegator · 1 permission
- Storage Table Delegator · 1 permission