← cd ~/roles
// roles/azure · integration
API Management Service Workspace API DeveloperAzure built-in role
Has read access to tags and products and write access to allow: assigning APIs to products, assigning tags to products and APIs. This role should be assigned on the service scope.
| Role ID | 9565a273-41b9-4368-97d2-aeb0c976a9b3 |
|---|---|
| Category | Integration |
| Actions | 9 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.ApiManagement/service/tags/read | Lists a collection of tags defined within a service instance. or Gets the details of the tag specified by its identifier. |
Microsoft.ApiManagement/service/tags/apiLinks/* | Every operation under Microsoft.ApiManagement/service/tags/apiLinks |
Microsoft.ApiManagement/service/tags/operationLinks/* | Every operation under Microsoft.ApiManagement/service/tags/operationLinks |
Microsoft.ApiManagement/service/tags/productLinks/* | Every operation under Microsoft.ApiManagement/service/tags/productLinks |
Microsoft.ApiManagement/service/products/read | Lists a collection of products in the specified service instance. or Gets the details of the product specified by its identifier. |
Microsoft.ApiManagement/service/products/apiLinks/* | Every operation under Microsoft.ApiManagement/service/products/apiLinks |
Microsoft.ApiManagement/service/read | Read metadata for an API Management Service instance |
Microsoft.ApiManagement/service/authorizationServers/read | Lists a collection of authorization servers defined within a service instance. or Gets the details of the authorization server without secrets. |
Microsoft.Authorization/*/read | Any read operation on anything under Microsoft.Authorization |
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 "API Management Service Workspace API Developer" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "API Management Service Workspace API Developer" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, '9565a273-41b9-4368-97d2-aeb0c976a9b3')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '9565a273-41b9-4368-97d2-aeb0c976a9b3')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "9565a273-41b9-4368-97d2-aeb0c976a9b3"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)Other integration roles
- App Configuration Data Reader · 1 permission
- DeID Batch Data Reader · 1 permission
- DeID Data Owner · 1 permission
- DeID Realtime Data User · 1 permission
- DICOM Data Owner · 1 permission
- DICOM Data Reader · 1 permission
- Durable Task Data Contributor · 1 permission
- Durable Task Worker · 1 permission