1---2name: azure-sre-agent3description: Expert knowledge for Azure Sre Agent development including troubleshooting, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when configuring SRE Agent tools/docs, querying KQL logs, wiring DevOps/incident integrations, or deploying as a Teams bot, and other Azure Sre Agent related development tasks. Not for Azure Monitor (use azure-monitor), Azure Reliability (use azure-reliability), Azure Resiliency (use azure-resiliency), Azure Site Recovery (use azure-site-recovery).4---5# Azure Sre Agent Skill
6
7This skill provides expert guidance for Azure Sre Agent. Covers troubleshooting, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
8
9## How to Use This Skill
10
11> **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file
12
13> **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)
14
15This skill requires **network access** to fetch documentation content:
16- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.
17- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.
18
19## Category Index
20
21| Category | Lines | Description |
22|----------|-------|-------------|
23| Troubleshooting | L35-L40 | Diagnosing Azure SRE Agent deployment/operation issues and querying its action logs with KQL to investigate failures, performance, and behavior. |
24| Decision Making | L41-L47 | Guidance on SRE Agent pricing and cost drivers, when to trigger deep investigations, and how to assess incident impact, value, and performance metrics. |
25| Limits & Quotas | L48-L53 | Monitoring SRE Agent usage and Azure AI Unit quotas, viewing consumption, and checking which Azure regions currently support deploying the SRE Agent |
26| Security | L54-L60 | Data residency, privacy, and security model for Azure SRE Agent, including managed identity permissions setup and configuring user roles/RBAC access. |
27| Configuration | L61-L70 | Configuring Azure SRE Agent behavior, code interpreter (Python/shell), network/firewall access, and uploading/managing knowledge documents for grounding |
28| Integrations & Coding Patterns | L71-L90 | Integrating SRE Agent with DevOps, observability, incident tools (Azure DevOps, ADX, ServiceNow, PagerDuty, MCP), plus building/configuring Kusto & Python tools and notifications (Teams/Outlook). |
29| Deployment | L91-L94 | How to deploy and configure the Azure SRE Agent as a Microsoft Teams bot, including setup steps, required permissions, and integration details. |
30
31### Troubleshooting
32| Topic | URL |
33|-------|-----|
34| Query Azure SRE Agent action logs with KQL | https://learn.microsoft.com/en-us/azure/sre-agent/audit-agent-actions |
35| Troubleshoot Azure SRE Agent deployment and operations | https://learn.microsoft.com/en-us/azure/sre-agent/faq-troubleshooting |
36
37### Decision Making
38| Topic | URL |
39|-------|-----|
40| Understand billing and cost model for Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/billing |
41| Decide when to use deep investigation in SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/deep-investigation |
42| Evaluate Azure SRE Agent incident value and performance | https://learn.microsoft.com/en-us/azure/sre-agent/track-incident-value |
43
44### Limits & Quotas
45| Topic | URL |
46|-------|-----|
47| Monitor Azure SRE Agent usage and Azure AI Unit limits | https://learn.microsoft.com/en-us/azure/sre-agent/monitor-agent-usage |
48| Check supported Azure regions for SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/supported-regions |
49
50### Security
51| Topic | URL |
52|-------|-----|
53| Understand data residency and privacy for Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/data-privacy |
54| Configure Azure SRE Agent permissions with managed identity | https://learn.microsoft.com/en-us/azure/sre-agent/permissions |
55| Configure user roles and RBAC for Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/user-roles |
56
57### Configuration
58| Topic | URL |
59|-------|-----|
60| Configure agent hooks to control Azure SRE Agent behavior | https://learn.microsoft.com/en-us/azure/sre-agent/agent-hooks |
61| Use SRE Agent code interpreter for Python and shell | https://learn.microsoft.com/en-us/azure/sre-agent/code-interpreter |
62| Configure network and firewall requirements for SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/network-requirements |
63| Upload and manage knowledge documents in SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/tutorial-upload-knowledge-document |
64| Upload and manage knowledge documents in Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/upload-knowledge-document |
65| Enable and use Code Interpreter in Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/use-code-interpreter |
66
67### Integrations & Coding Patterns
68| Topic | URL |
69|-------|-----|
70| Configure Azure DevOps connector for Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/azure-devops-connector |
71| Connect Azure DevOps wikis as knowledge sources for SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/azure-devops-wiki-knowledge |
72| Use Azure SRE Agent from Microsoft Teams | https://learn.microsoft.com/en-us/azure/sre-agent/chat-from-your-tools |
73| Connect Azure DevOps wiki as SRE Agent knowledge source | https://learn.microsoft.com/en-us/azure/sre-agent/connect-devops-wiki |
74| Configure PagerDuty integration for Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/connect-pagerduty |
75| Connect ServiceNow to Azure SRE Agent securely | https://learn.microsoft.com/en-us/azure/sre-agent/connect-servicenow |
76| Create parameterized Kusto tools for Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/create-kusto-tool |
77| Create and deploy a Python tool for SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/create-python-tool |
78| Use Azure observability sources with Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/diagnose-azure-observability |
79| Integrate external observability tools with Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/diagnose-observability |
80| Set up Azure Data Explorer connector for SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/kusto-connector |
81| Create Kusto tools for deterministic KQL queries in SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/kusto-tools |
82| Use MCP connector to add external tools to SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/mcp-connector |
83| Create and configure Python tools for Azure SRE Agent | https://learn.microsoft.com/en-us/azure/sre-agent/python-code-execution |
84| Configure SRE Agent notifications to Teams and Outlook | https://learn.microsoft.com/en-us/azure/sre-agent/send-notifications |
85| Configure Azure SRE Agent hooks via REST API | https://learn.microsoft.com/en-us/azure/sre-agent/tutorial-agent-hooks |
86
87### Deployment
88| Topic | URL |
89|-------|-----|
90| Deploy Azure SRE Agent as a Microsoft Teams bot | https://learn.microsoft.com/en-us/azure/sre-agent/teams-bot |