← cd ~/roles
// roles/azure · integration
API Management Service Workspace API Product ManagerAzure built-in role
Has the same access as API Management Service Workspace API Developer as well as read access to users and write access to allow assigning users to groups. This role should be assigned on the service scope.
| Role ID | d59a3e9c-6d52-4a5a-aeed-6bf3cf0e31da |
|---|---|
| Category | Integration |
| Actions | 12 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.ApiManagement/service/users/read | Lists a collection of registered users in the specified service instance. or Gets the details of the user specified by its identifier. |
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/groups/read | Lists a collection of groups defined within a service instance. or Gets the details of the group specified by its identifier. |
Microsoft.ApiManagement/service/groups/users/* | Every operation under Microsoft.ApiManagement/service/groups/users |
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 Product Manager" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "API Management Service Workspace API Product Manager" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, 'd59a3e9c-6d52-4a5a-aeed-6bf3cf0e31da')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'd59a3e9c-6d52-4a5a-aeed-6bf3cf0e31da')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "d59a3e9c-6d52-4a5a-aeed-6bf3cf0e31da"
| 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