What is Azure SRE Agent?
Imagine it is 2:47 AM and an Azure Monitor alert fires: your orders API on Azure Container Apps is returning HTTP 500 errors. The on-call engineer wakes up, opens the portal and starts the usual routine – Application Insights for failures, Log Analytics for exceptions, the Activity Log for recent changes, GitHub for what was deployed yesterday evening. Forty minutes later they find it: a commit that changed a connection string setting. The fix takes two minutes. Finding it took forty.
Most of that forty minutes is not problem solving. It is gathering context from five different places. That is exactly the work Azure SRE Agent is built to take off your plate.
Azure SRE Agent is an AI operations teammate that runs as an Azure resource in your subscription. You connect it to your source code, logs, incident platform and Azure resources. When something breaks – or when you simply ask a question – it pulls the signals together in one place, correlates them, identifies the probable root cause, and proposes (or, if you allow it, runs) a mitigation. It works within the permissions, run modes and policies you give it, so it never has more access than you decide.
In the 2:47 AM scenario above, the agent would query Application Insights, notice the error spike started right after a deployment, link it to the GitHub commit, explain what changed, propose a rollback, and open an incident ticket with the investigation summary already filled in. Your engineer reviews and approves instead of digging.
This is the first article in a six-part series on Azure SRE Agent. In this one, we will understand what the agent is, create our first agent, walk through the guided onboarding (code, logs, incidents, Azure resources and knowledge), and – very importantly – understand how it is priced so you don’t get a surprise on your bill.
Where Is It Available and What Changed Recently?
Azure SRE Agent became generally available on 10 March 2026. Along with GA came a rebuilt onboarding experience at sre.azure.com, which is where you create and work with agents today. At Microsoft Ignite 2026 (17 November 2026), Microsoft announced a set of new capabilities, all in public preview:
| Capability | What it does | Status* |
| Microsoft Teams integration | The agent joins Teams conversations as a member of your team | Public preview |
| Microsoft Entra Agent ID | Gives each agent its own identity, so its actions show up as itself in Entra and Azure activity logs | Public preview |
| Microsoft Agent 365 | Security and IT teams can see and govern SRE agents alongside other agents in the organization | Public preview |
| Cross-agent communication | Agents share context and coordinate tasks with other teams’ agents | Public preview |
| Customer-managed keys | Encrypt agent data with your own keys | Public preview |
| Azure Container Apps portal experience | Start on-demand investigations directly from the Container Apps blade | Public preview |
* Status as of early December 2026. We will cover Teams, Entra Agent ID and the Container Apps experience in later articles in this series.
What Can the Agent Connect To?
The agent is only as good as the context it can reach. Out of the box it understands Azure services – compute (App Service, Container Apps, AKS, Functions, VMs), storage, networking and data – and anything else can be handled through Azure CLI and REST APIs, within the permissions you grant. Here is what you can plug into it in the Microsoft ecosystem:
| Area | Microsoft / GitHub options |
| Source code | GitHub (repos and issues), Azure DevOps (repos and work items) |
| Logs and telemetry | Application Insights, Log Analytics workspace, Azure Data Explorer (Kusto) |
| Incidents | Azure Monitor alerts (plus third-party platforms such as PagerDuty and ServiceNow) |
| Communication | Microsoft Teams, Outlook |
| Extensibility | MCP servers, custom subagents, runbooks and skills |
Prerequisites
| Requirement | Details |
| Azure subscription | An active subscription. The agent is billed to it. |
| Role to create the agent | Owner, or Contributor + User Access Administrator, on the subscription or resource group. The wizard creates role assignments, so Contributor alone is not enough. |
| Role to grant access to resources | Owner or User Access Administrator on every scope you add. If you use PIM, activate the role first. |
| MFA sign-in | Sign in to sre.azure.com with multifactor authentication. Azure’s mandatory MFA policy denies create/update operations from password-only sessions. |
| Network | Your browser must be able to reach *.azuresre.ai. |
| Resource provider | Microsoft.App must be registered (see the gotcha in Step 2). |
Step 1 – Sign In to sre.azure.com and Check the Trial
Open https://sre.azure.com. If you are not signed in, you see the landing page with an overview of the agent’s capabilities, sample code and videos. Select Sign in and use your Azure (Microsoft Entra ID) account.
Notice the “Start your 30-day trial” card. New customers can run the agent with no always-on charges for 30 days. Consumption charges still apply – more on what that means in the pricing section. Read the trial terms before you create anything, because standard pricing kicks in automatically on day 31 if the agent still exists.

Figure 1: The sre.azure.com landing page. New customers see the 30-day trial offer with no always-on charges.
Step 2 – Create Your First Agent
After signing in, select Create agent. In the live portal the wizard has four stages: Basics → Advanced setup → Review + create → Deploy. (At the time of writing, the docs still describe three; the portal has added an Advanced setup stage for the Ignite 2026 preview features.)
Basics
| Field | What to enter | Notes |
| Subscription | The subscription that will own (and pay for) the agent | |
| Resource group | Existing or new, e.g. rg-sre-agent | Keep the agent in its own resource group, separate from your application |
| Agent name | A unique, descriptive name, e.g. contoso-sre-agent | See the naming gotcha below |
| Region | The Azure region for the agent | Cannot be changed later. An empty list means the subscription isn’t registered yet |
| Model provider | Appears after you pick a region. In my tenant: OpenAI (1x) – the default, Anthropic (3x) – marked “Preferred”, and Azure OpenAI (1x) | The multiplier is a hint at relative token cost. Affects capability and cost. Can be changed later in settings |
| Application Insights | Create new (default) or use existing | Used for the agent’s own telemetry |
| Application Insights region | Defaults to the agent’s region | Required when creating a new instance |
| User-assigned managed identity | Create new (default) or attach an existing one | Attaching an existing identity needs the Managed Identity Operator role on it |

Figure 2: The Basics step. The model provider options show a cost multiplier – OpenAI (1x), Anthropic (3x, Preferred) and Azure OpenAI (1x).
Gotcha – agent name vs resource group name: if you later grant the agent access to its own resource group, the first 15 characters of the agent name and the resource group name (case-insensitive) must be different. If they match – for example agent contoso-sre-agent in resource group contoso-sre-agent-rg – the role grant fails with a deployment-overwrite error, and retrying won’t fix it. Pick names with clearly different prefixes, such as rg-sre-agent and contoso-sre-agent.
Gotcha – Create button disabled or “DeploymentNotFound”: register the Microsoft.App resource provider on the subscription and try again:
az provider register --namespace "Microsoft.App"az provider show --namespace "Microsoft.App" --query "registrationState"
Advanced setup (preview options)
The Advanced setup stage has two options, both in preview:
- Customer-managed data encryption: Agent data is encrypted by default with Microsoft-managed keys. If you want your own keys, you must tick Allow customer-managed encryption before the agent is created – you can add the key now or later, but you can’t switch it on afterwards.
- Agent identity: Gives the agent its own governed identity in Microsoft Entra Agent ID, used for Microsoft Teams and for accessing and managing Azure resources. This is separate from the user-assigned managed identity in Basics, and creating it also turns on Microsoft Agent 365 observability for the agent.

Figure 3: Advanced setup – customer-managed encryption and Entra Agent ID, both in preview.
Ticking Set up agent identity opens more fields: an Identity name, a Sponsor object ID (a user or Microsoft 365 group, copied from the Microsoft Entra admin center), the Tenant ID, a Display name and an Email address. Your signed-in account becomes the agent user’s manager. Be aware that this creates a new agent user in your Entra tenant, so involve your identity team before turning it on in a shared tenant. For this first agent I left both options off; we will come back to Entra Agent ID in the Teams article of this series.

Figure 4: Turning on Agent identity asks for an identity name and a sponsor object ID, plus display name and email for the agent user.
Review + create and Deploy
Select Next and check the summary: agent name, region, subscription, resource group, Application Insights region, managed identity and the Advanced setup choices. Note that the review page shows no price and, in my tenant, no trial banner – so check the pricing section below before you select Create.

Figure 5: Review + create. Double-check the region – it can’t be changed after creation.
Gotcha – creation blocked by mandatory MFA: this one caught me. My first attempts failed – once with just “Resource group creation failed”, then with the clearer message in Figure 6: the Application Insights resource “was disallowed by Azure” because I had not authenticated through MFA. The Azure Portal Activity Log showed the cause: a ‘deny’ Policy action from the built-in assignment “Microsoft Azure Multi Factor Authentication Enforcement for Resource Write Actions” (sys.mfa-write). This is Microsoft’s mandatory MFA for Azure create, update and delete operations. sre.azure.com creates the resource group, managed identity and Application Insights for you, so every one of those writes needs a session that completed MFA. Sign out of sre.azure.com, sign back in and complete the MFA prompt before you select Create. With my personal Microsoft account (invited as a guest into the tenant) a single re-sign-in was not enough at first, and the agent was created on a later attempt. If you see a vague failure, check the Activity Log on the subscription first.

Figure 6: Agent creation blocked by the mandatory MFA policy. The error names the Application Insights resource the wizard tried to create.
Deployment usually takes 2–5 minutes. When it shows Succeeded, the following resources exist:
| Resource | Purpose |
| Agent resource | The SRE Agent itself |
| User-assigned managed identity (UAMI) | Used for connector authentication and Azure RBAC role assignments – this is the identity you grant access to |
| System-assigned managed identity (SAMI) | Supports the agent’s own infrastructure |
| SRE Agent Administrator role assignment | Assigned to you on the new agent |
| Application Insights + Log Analytics workspace | Only if you chose “Create new” |
My demo agent for this series is az-sre-agent in resource group rg-sre-agent-demo, Central US, with the OpenAI (1x) model provider. Select the agent in the Agents list to open it. The home page has the chat box in the middle, the navigation (Operations hub, Automation, Incidents, Agent to Agent, Live reports, Communication Hub, Build + configure and Settings) on the left, and a strip at the top showing which data sources are still Not configured. Inside the trial, a banner also shows the exact date and time the always-on waiver ends.

Figure 7: The agent home page. The banner confirms always-on charges are waived until the trial ends; the strip shows five data sources not yet configured.
Important: the always-on billing clock starts the moment the agent is created (unless you are inside the 30-day trial), whether or not you use it.
Step 3 – Guided Onboarding: Code, Logs, Incidents, Resources and Knowledge
After deployment, select Set up your agent (or Complete setup on the agent home page). The setup page has two tabs:
- Quickstart – Code, Logs, Incidents and Azure resources.
- Full setup – everything in Quickstart, plus Knowledge files.
Start with Quickstart. Code and telemetry are enough for the agent to start investigating; Azure resource access is optional.

Figure 8: The Quickstart setup page. Until something is connected, the agent warns that it doesn’t know anything about your app.
3.1 Code – Connect a Repository
- On the Code card, select + (Connect repositories).
- Choose GitHub or Azure DevOps.
- Choose how to authenticate. For GitHub: your account, a personal access token, or your own GitHub App (required for GitHub Enterprise Cloud). For Azure DevOps: your account, a managed identity, or a PAT.
- Select Next, pick the repositories under Add repositories, and select Save.
Connect the repository of the service you plan to investigate first. As soon as it is connected, the agent starts learning the codebase – that is what lets it later say “this error started after commit abc123 changed appsettings.json“. We will go deep on this in Article 2.
3.2 Logs – Connect Telemetry
- On the Logs card, select + to open Configure logging provider.
- Choose Application Insights, Log Analytics Workspace or Azure Data Explorer. All connections are read-only.
- Fill in the provider details, review, and select Add connector.
For Application Insights and Log Analytics, saving the connector automatically assigns Log Analytics Reader and Monitoring Reader to the agent’s managed identity. You can connect more than one source.
The provider list also includes third-party observability tools; this series sticks to the Azure options.

Figure 9: Configure logging provider – a three-step wizard: choose a provider, set it up, then review and add.
3.3 Incidents – Where Alerts Come From
The Incidents card connects the agent to the platform that raises your incidents. In a Microsoft-only setup this is Azure Monitor alerts. Once connected, you create incident response plans that decide which alerts the agent investigates – for example, only Sev 0–1 alerts for the orders service. Filtering here matters for cost too: every investigation consumes AAUs.
The Connect incident platform dialog offers PagerDuty, ServiceNow and Azure Monitor. Choose Azure Monitor and there is nothing to fill in: it is configured automatically based on the agent’s scope. PagerDuty and ServiceNow need an API key or credentials.

Figure 10: Connect incident platform. Azure Monitor needs no keys; the PagerDuty option shown here asks for a REST API access key.
3.4 Azure Resources – Grant Access (Optional)
Select Add resources on the Azure resources card and choose a scope:
| Scope | Roles granted to the agent’s identity | When to use |
| Resource group (recommended) | Reader level: base read roles plus reader/operator roles the resource types need. Privileged level: adds contributor, administrator or operator roles | Start here – one application, one resource group |
| Subscription | Reader + Monitoring Contributor | When the agent should see everything in a subscription |
| Management group | Reader + Monitoring Contributor, inherited by all child subscriptions | Large estates only – review the blast radius first |
Role assignment can take a few minutes. To remove access later, remove the scope from the card and the portal revokes the roles.

Figure 11: Add Azure resources – step 1 picks the scope type; step 2 picks the subscriptions and resource groups.
3.5 Knowledge – Teach It Your Runbooks
On the Full setup tab, you can upload knowledge files – runbooks, architecture notes, troubleshooting guides – as Markdown, PDF or text. The agent extracts the procedures and uses them in later investigations. You can also add knowledge any time later, simply by attaching a file in chat. Custom runbooks, subagents and the memory system are the subject of Article 3.
Step 4 – Team Onboarding: Tell the Agent How Your Team Works
Select Done and go to agent. The agent opens a pinned Team onboarding thread in the Favorites sidebar. First, it explores whatever you connected on its own – the README, folder structure, frameworks and dependencies of your repo, and the resource types in your resource groups – and writes an architecture summary. When that finishes, it greets you by name and starts a short interview.
Answer naturally. For example:
We're the Platform team, four engineers. We own the orders API (Azure Container Apps)and the payments function (Azure Functions). On-call is a weekly rotation.Escalation goes to the senior on-call engineer, then to the engineering manager.
The agent confirms what it saved to memory – team, services owned, on-call and escalation path. If it gets something wrong, correct it in chat (“We also have a background worker in /jobs that processes queue messages”) and it updates its stored context. You can also describe a procedure in plain English:
When we see high CPU on the orders API, we first check upstream dependencies,then verify the database connection pool, then review recent deployments.
Finally, ask “What should I do next?” – the agent returns a numbered list of recommendations based on what you have connected and what is still missing.
On my demo agent, which had nothing connected yet, the thread was already waiting when I first opened it. The agent had checked its data connectors and repositories, run an Azure inventory of the subscription and written an overview.md memory file. It correctly noted that the only resources were its own Log Analytics workspace and Application Insights, then asked for my role and the repository behind the service I am on call for.

Figure 12: The Team onboarding thread: inventory first, a memory file second, then the first interview question.
Step 5 – Ask Your First Questions
Even before you wire up any incidents, the chat is useful. A few prompts to start with:
What changed in resource group rg-orders-prod in the last 24 hours?Check Application Insights for the orders API. Are there any errors orfailed dependencies in the last 24 hours? Summarise the top three.Review the resources in rg-orders-prod against Azure best practicesfor reliability. What are the biggest risks?
Answers come back with the sources the agent used – queries, resources and files – so you can verify them. Treat the first few answers the way you would treat a new team member’s: check the evidence before acting on the conclusion.
On a fresh agent, the suggested prompt What can you do for my environment? is a good first test. Mine expanded each step it took (skills, files read, commands run) and then answered honestly: it could read the subscription but found no application workload and no repository or data connector, and it asked for a resource name or a connected source to start a health check. View trace and Download trace at the top of the thread show the full reasoning trail.

Figure 13: A first chat. Every step is visible and expandable before the answer (subscription ID redacted).
Governance – Can the Agent Change My Production?
Only if you let it. There are four layers of control:
- Permissions (RBAC): The agent acts through its managed identity and can only reach what you granted in Step 3.4. If you gave it Reader, it can read – nothing more. When it needs more access for a specific action, it can request temporary access on behalf of the user (Entra OBO flow).
- Run modes: In Review mode the agent proposes an Azure write operation (a restart, a scale-out, a CLI command) and waits for an SRE Agent Administrator to approve or deny it. In Autonomous mode it acts immediately and reports afterwards.
- Tool access policies: Each tool can be set to allow, ask or deny, at admin, custom-agent and user level.
- Agent hooks: Governance checkpoints that can allow or block an action before it runs.
Gotcha – the defaults are different: the agent-level default is Review, but incident response plans and scheduled tasks default to Autonomous. Check the run mode on every automation you create. Also note that Review mode covers Azure infrastructure operations; actions such as sending an email or posting to Teams follow the agent’s reasoning and your instructions, so use tool access policies or hooks if you need to control those.
You can check where a new agent stands under Settings > General. Mine showed permission level Reader, agent mode Review and model provider OpenAI – a safe starting point.

Figure 14: Agent settings: permission level, agent mode and model provider in one place.
Pricing – Read This Before You Click Create
Azure SRE Agent is billed in Azure Agent Units (AAUs), a consumption unit used across Microsoft’s prebuilt Azure agents. Your bill has two parts.
1. Always-on flow (fixed)
4 AAUs per agent per hour, from the moment the agent is created until it is deleted – whether it does any work or not. Stopping the agent does not stop this charge. The price per AAU depends on the region. On the Azure SRE Agent pricing page in early December 2026, Central US was US$0.10 per AAU, which makes the always-on charge US$0.40 per hour per agent – about US$9.60 a day, or roughly US$292 a month, before the agent does any work. Central India was US$0.114 per AAU (US$0.456 per hour). That difference is why I created my demo agent in Central US. Check the page (or the pricing calculator while signed in) for your own region and currency.
2. Active flow (variable, token-based)
Whenever the agent works – a chat question, an incident investigation, a scheduled task – the LLM tokens it uses are converted into AAUs. The rate depends on the model you chose in Step 2 – the wizard’s 1x/3x labels are a quick hint. AAUs per 1 million tokens at the time of writing:
| Model | Input | Output | Cache read | Cache write |
| Claude Opus 5.5 | 80 | 400 | 4 | 100 |
| Claude Opus 4.6 and 5 | 100 | 500 | 10 | 125 |
| GPT-6 Sol and GPT-5.6 Terra | 40 | 200 | 4 | 50 |
| GPT 5.3 Codex | 35 | 280 | 3.5 | 0 |
| GPT 5.2 | 35 | 280 | 3.5 | 0 |
To get a feel for the numbers, Microsoft’s documentation estimates the following per task:
| Task | Claude Opus 4.6 | GPT 5.3 Codex |
| Quick question (“Show me recent alerts”) | ~3.8 AAUs | ~1.3 AAUs |
| Incident investigation (Azure Monitor alert) | ~35.3 AAUs | ~11.7 AAUs |
| Full remediation (“Diagnose and fix the failing deployment”) | ~86.5 AAUs | ~30.1 AAUs |
The more expensive models often reach a conclusion in fewer steps, which can balance out the higher rate on complex root cause analysis. Cheaper GPT models suit simple, high-volume work such as scheduled compliance checks. Time the agent spends waiting for your approval is not billed.
The 30-day trial
- For customers new to SRE Agent, up to three agents per account. Deleted agents still count towards the three.
- Starts when you create your first agent and lasts 30 days. A banner on the agent shows the exact end date and time of the waiver (Figure 7).
- The always-on charge is waived; active flow is still charged. No feature limits.
- On day 31, standard pricing applies automatically – there is no confirmation step. Delete the agent before the trial ends if you don’t want to keep paying.
Keeping costs under control
Set a monthly limit under Agent consumption with Change AAU allocation (minimum 500, maximum 1,000,000 AAUs per month). The limit applies to active flow only. The same page shows consumption by thread type (Chats, Incidents, Scheduled tasks, Triggers), per day and per thread.
The Danger zone at the bottom of Settings > General says it plainly: stopping the agent pauses its activity, but always-on unit consumption continues. Only Delete ends the always-on charge.

Figure 15: Stop vs Delete. Only deleting the agent stops always-on billing.
| Action | Active flow | Always-on | How it resumes |
| Monthly limit reached | Stops | Still billed | Automatically at the start of next month (or raise the limit) |
| Stop agent | Stops | Still billed | Select Start in settings |
| Delete agent | Stops | Stops | Create a new agent |
To delete an agent: open it in the portal, go to Settings → General, scroll to the Danger zone, and select Delete under Delete SRE Agent.
Other cost tips from the docs: filter incidents with response plans so the agent only investigates what matters, batch work into scheduled tasks rather than continuous polling, test automations in chat before turning them on, and use one agent for multiple workloads rather than one agent per app – each extra agent adds another always-on charge.
My Recommendation
Start narrow: one agent, one service you know well, one problem you can verify. Connect that service’s repository and its Application Insights, grant Reader on its resource group only, keep everything in Review mode, and set a modest monthly AAU limit. Run it for two to four weeks, look at which recommendations you approve every time, and only then switch those specific automations to Autonomous. If you are just evaluating, use the 30-day trial and put a reminder in your calendar to delete the agent before day 30.
Limitations to Keep in Mind
- The region is fixed at creation, and not every region or model provider is available to every subscription.
- The chat interface supports English only.
- There is no free tier outside the new-customer trial – an agent that exists is an agent you pay for.
- Like any LLM-based tool, the agent can be wrong. Its value is in gathering and correlating evidence quickly; the decision is still yours.
- The Ignite 2026 features (Teams, Entra Agent ID, Agent 365, customer-managed keys) are in preview and may change.
Summary
In this article, we learnt what Azure SRE Agent is, how to create an agent at sre.azure.com, how the guided onboarding connects code, logs, incidents, Azure resources and knowledge, how run modes keep it safe, and how its AAU-based pricing works.
| Topic | What to Remember |
| Azure SRE Agent | AI operations teammate that correlates code, logs, incidents and resources to find root cause and propose fixes. GA since 10 March 2026. |
| Where to create it | sre.azure.com → Create agent → Basics, Advanced setup, Review + create, Deploy. Region can’t be changed later. Sign in with MFA, or the create is denied by the mandatory MFA policy. |
| Permissions to create | Owner, or Contributor + User Access Administrator. |
| Onboarding | Quickstart: Code, Logs, Incidents, Azure resources. Full setup adds Knowledge. Then a Team onboarding interview saves context to memory. |
| Identity | A user-assigned managed identity gets the RBAC roles; you get SRE Agent Administrator. |
| Run modes | Review (approve first) vs Autonomous. Agent default is Review; response plans and scheduled tasks default to Autonomous. |
| Pricing | Always-on 4 AAUs/hour per agent until deleted, plus token-based active flow that depends on the model. |
| Trial | 30 days, no always-on charge, active flow still billed. Delete before day 31. |
| Stop vs delete | Stopping doesn’t stop the always-on charge. Only deleting does. |
Discover more from Praveen Kumar Sreeram's Blog
Subscribe to get the latest posts sent to your email.