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 tasksApprove actions, upload knowledge base documents, create custom agents, delete resources, modify connectors
SRE Agent AuthorCreate custom agents, upload knowledge base documents, author response plans, add connectorsApprove actions, 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.

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), 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.

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 documentsUpload documentsUpload + delete documents
ConnectorsView connectorsView connectorsAdd, edit 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.SREAgent/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?