Skip to main content

User Roles and Permissions

Your agent can investigate issues, take actions on production infrastructure, and access sensitive data across your environment. Access control determines who can request actions, who can approve them, and who can modify the agent's configuration.

Access control overview

Access control works across three layers:

Access control hierarchy: User Roles, Run Modes, and Agent Identity (with OBO fallback)
LayerControlsConfigured at
User roles (this page)What users can do with the agentAzure IAM on the agent resource
Run modesWhether the agent asks before actingPer response plan and per scheduled task
Agent permissionsWhat the agent can access on Azure, with OBO as fallbackRBAC roles on resource groups

Layer 1: User roles — four built-in roles

RoleCan doCannot do
SRE Agent ReaderView threads, logs, incidentsChat, request actions, modify anything
SRE Agent Standard UserChat, run diagnostics, request actions, manage scheduled tasks, upload knowledge base documents, add code repository connectorsApprove actions, create custom agents, delete resources
SRE Agent AuthorCreate custom agents, author response plans, configure incident managementChat, approve actions, upload knowledge base documents, add code repository connectors, create scheduled tasks, delete resources
SRE Agent AdministratorApprove actions, manage connectors, delete resources

The user who creates the agent automatically receives the SRE Agent Administrator role.

Author alone cannot add repositories or upload knowledge

In the portal, knowledge base uploads and code repository connectors (GitHub, GitHub Enterprise, Azure DevOps, GitLab) are gated on the Microsoft.App/agents/memory/write data action, which the Author role does not carry. Author covers custom agents, response plans and incident management only — and it also lacks threads/write, so an Author cannot chat.

A user who needs to both customize the agent and connect repositories/upload knowledge needs two assignments: SRE Agent Standard User and SRE Agent Author — or a single SRE Agent Administrator assignment.

Azure Owner and Contributor do not help here: they grant control-plane Actions only and carry no SRE Agent DataActions. A subscription Owner with only the Author role still receives a bare 403 with an empty body from the agent API.

Same operation, two surfaces, two different permissions

Repository and GitHub-credential resources can also be managed through the ARM extension surface (Microsoft.App/agents/{agent}/repositories/... and .../githubAuths/...). That surface is gated on extendedAgents/*, which Author does carry — so the same logical operation succeeds via ARM and fails in the portal for an Author.

This split is intentional in implementation (the ARM aliases were added without changing existing data-plane RBAC policies), but it is surprising in practice. Assign Standard User if you want the portal flow to work; do not rely on the ARM surface as the supported workaround.

SRE Agent roles in Azure Portal IAM showing Administrator, Author, Reader, and Standard User

Who should have which role?

RoleGive to
SRE Agent ReaderAuditors, compliance teams, stakeholders who need visibility
SRE Agent Standard UserL1/L2 engineers, first responders, anyone who diagnoses issues
SRE Agent AuthorSRE engineers who build custom agents, response plan authors, team members who customize agent behavior
SRE Agent AdministratorSRE managers, cloud admins, incident commanders

How the portal enforces permissions

The portal checks your Azure role assignments when you access the agent. Access is enforced at two levels.

Level 1: No agent access

When you have no SRE Agent role assignment, the portal shows an Access Required screen with a shield icon and a Go to Access Control button that opens the Azure IAM blade. If you have Azure Owner or Contributor on the resource, you also see a banner offering to auto-assign the Administrator role.

Level 2: Backend enforcement

When you have an SRE Agent role but attempt an action beyond your permissions (for example, a Reader trying to send a message, a Standard User trying to create a custom agent, or an Author trying to approve an action or add a repository connector), the backend blocks the action with a 403 error. The portal may let you navigate to a page or click a button, but the operation fails with a permission error when it reaches the server. The 403 often has an empty response body, so check the role assignment before suspecting Key Vault, ARM or networking.

note

Some portal features proactively disable buttons when you lack write permissions (for example, connector management shows disabled buttons with tooltips). However, this is not yet consistent across all features — the backend always enforces the correct permissions regardless of what the UI shows.

What each role can access

AreaReaderStandard UserAuthorAdministrator
ChatView threads (read-only)Send messages, start threadsView threads (read-only)Full access + approve actions, delete threads
Agent CanvasView custom agentsView custom agentsCreate, edit, delete custom agentsCreate, edit, delete custom agents
Knowledge baseBrowse documentsBrowse + upload documentsBrowse documentsUpload + delete documents
Code repository connectorsView connectorsView + add, edit connectorsView connectorsAdd, edit, delete connectors
Response plansView plansView plansCreate, edit, delete plansCreate, edit, delete plans
Managed resourcesView resourcesView resourcesView resourcesAdd, remove resources
Scheduled tasksCreate, edit, delete tasksCreate, edit, delete tasks
SettingsView settingsView settingsView settingsModify settings, stop/delete agent

Assigning roles

Assign roles through the Azure portal (Access control (IAM)Add role assignment) or Azure CLI:

az role assignment create \
--assignee user@company.com \
--role "SRE Agent Administrator" \
--scope <agent-resource-id>

Replace the role name with SRE Agent Author, SRE Agent Standard User, or SRE Agent Reader as needed.

Find your agent's resource ID
az resource show \
--resource-group <rg-name> \
--name <agent-name> \
--resource-type Microsoft.App/agents \
--query id -o tsv

How roles work together

An engineer requests an action, but only administrators can approve it:

StepWhoAction
1Engineer (Standard User)"Fix the config issue"
2AuthorBuilds a custom agent with a response plan for config fixes
3AgentDrafts remediation plan
4Agent⚠️ Cannot execute (needs Administrator approval)
5Manager (Administrator)Reviews and approves
6AgentExecutes fix using managed identity or on-behalf-of authorization

Learn how the access control layers interact

This page covers user roles — who can do what with the agent. To understand the full access control picture:

TopicPageWhat you'll learn
Run modesRun Modes →How Review and Autonomous modes control whether the agent asks before acting — only Administrators can approve in Review mode
Agent permissionsAgent Permissions →How the agent gets access to Azure resources — Reader vs Privileged permission levels, RBAC roles, and OBO fallback when the agent lacks permissions
Agent identityAgent Identity →What identities get created with your agent, how connectors use them, and why we recommend UAMI
AuditAudit Agent Actions →Review what your agent did, who approved it, and which identity was used
Was this page helpful?