← cd ~/roles
// roles/azure · integration
FHIR Data Bulk OperatorAzure built-in role
Role allows user or principal to perform bulk operations
| Role ID | 804db8d3-32c7-4ad4-a975-3f6f90d5f5f5 |
|---|---|
| Category | Integration |
| Actions | 0 |
| Data actions | 16 |
Before you assign it
- It reaches the data, not just the resource. It has 16 data actions, such as reading blobs, secrets or messages.
What it can do
No control-plane actions.
Data actions
| Permission | What it allows |
|---|---|
Microsoft.HealthcareApis/services/fhir/resources/read | Read FHIR resources (includes searching and versioned history). |
Microsoft.HealthcareApis/services/fhir/resources/write | Write FHIR resources (includes create and update). |
Microsoft.HealthcareApis/services/fhir/resources/delete | Delete FHIR resources (soft delete). |
Microsoft.HealthcareApis/services/fhir/resources/export/action | Export operation ($export). |
Microsoft.HealthcareApis/services/fhir/resources/reindex/action | Allows user to run Reindex job to index any search parameters that haven't yet been indexed. |
Microsoft.HealthcareApis/services/fhir/resources/import/action | Import FHIR resources in batch. |
Microsoft.HealthcareApis/services/fhir/resources/hardDelete/action | Hard Delete (including version history). |
Microsoft.HealthcareApis/services/fhir/resources/bulkOperator/action | Allows user to perform bulk operations |
Microsoft.HealthcareApis/workspaces/fhirservices/resources/read | Read FHIR resources (includes searching and versioned history). |
Microsoft.HealthcareApis/workspaces/fhirservices/resources/write | Write FHIR resources (includes create and update). |
Microsoft.HealthcareApis/workspaces/fhirservices/resources/delete | Delete FHIR resources (soft delete). |
Microsoft.HealthcareApis/workspaces/fhirservices/resources/export/action | Export operation ($export). |
Microsoft.HealthcareApis/workspaces/fhirservices/resources/reindex/action | Allows user to run Reindex job to index any search parameters that haven't yet been indexed. |
Microsoft.HealthcareApis/workspaces/fhirservices/resources/import/action | Import FHIR resources in batch. |
Microsoft.HealthcareApis/workspaces/fhirservices/resources/hardDelete/action | Hard Delete (including version history). |
Microsoft.HealthcareApis/workspaces/fhirservices/resources/bulkOperator/action | Allows user to perform bulk operations |
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 "FHIR Data Bulk Operator" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "FHIR Data Bulk Operator" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, '804db8d3-32c7-4ad4-a975-3f6f90d5f5f5')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '804db8d3-32c7-4ad4-a975-3f6f90d5f5f5')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "804db8d3-32c7-4ad4-a975-3f6f90d5f5f5"
| 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