← cd ~/roles
// roles/azure · ai-machine-learning
Healthcare Agent ReaderAzure built-in role
Users with reader access can sign in, have read-only access to the bot resources, scenarios and configuration setting except for the bot instance keys & secrets (including Authentication, Data Connection and Channels keys) and the end-user inputs (including Feedback, Unrecognized utterances and Conversation logs).
| Role ID | eb5a76d5-50e7-4c33-a449-070e7c9c4cf2 |
|---|---|
| Category | Ai-machine-learning |
| Actions | 0 |
| Data actions | 17 |
Before you assign it
- It reaches the data, not just the resource. It has 17 data actions, such as reading blobs, secrets or messages.
What it can do
No control-plane actions.
Data actions
| Permission | What it allows |
|---|---|
Microsoft.HealthBot/healthBots/ResourceData/Read | Get global data and properties about Healthcare Agent service |
Microsoft.HealthBot/healthBots/Metadata/Read | Get metadata and configurations related to the bot |
Microsoft.HealthBot/healthBots/CopilotStudioSolution/RestoreBuiltinTemplate/Read | Apply copilot features when opening the management portal |
Microsoft.HealthBot/healthBots/Feedback/Read | Participate and answer on surveys and feedbacks about Healthcare Agent service |
Microsoft.HealthBot/healthBots/Users/Read | Read portal users as configured in classic access control |
Microsoft.HealthBot/healthBots/AuditTrails/Read | Audit all activity in your bot |
Microsoft.HealthBot/healthBots/AnalyticReport/Read | Access for getting analytic report data |
Microsoft.HealthBot/healthBots/ExposedSkill/Read | View the agent's exposed skill enablement status and details |
Microsoft.HealthBot/healthBots/RegisteredSkills/Read | List registered skills and view manifest URLs and details |
Microsoft.HealthBot/healthBots/Configuration/Read | View agent's configuration, including healthcare intelligence configurations and environment variables |
Microsoft.HealthBot/healthBots/Localization/Read | Access for getting language localization data |
Microsoft.HealthBot/healthBots/AuthenticationProviders/Read | List and view details of agent's authentication providers |
Microsoft.HealthBot/healthBots/DataConnections/Read | List and view details of reusable data connections |
Microsoft.HealthBot/healthBots/OpenAPIPlugins/Read | List and view OpenAPI plugins' details |
Microsoft.HealthBot/healthBots/Scenarios/*/Read | Any read operation on anything under Microsoft.HealthBot/healthBots/Scenarios |
Microsoft.HealthBot/healthBots/LanguageModels/Read | Access for getting language models data |
Microsoft.HealthBot/healthBots/Resources/Files/Read | Allows reading and listing of resource files in the Health Bot. |
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 "Healthcare Agent Reader" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Healthcare Agent Reader" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, 'eb5a76d5-50e7-4c33-a449-070e7c9c4cf2')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'eb5a76d5-50e7-4c33-a449-070e7c9c4cf2')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "eb5a76d5-50e7-4c33-a449-070e7c9c4cf2"
| 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 Compute Operator · 2 permissions
- AzureML Registry User · 2 permissions
- Cognitive Services Custom Vision Contributor · 2 permissions