Skip to content

Commit 53e6f08

Browse files
authored
Merge pull request #314342 from dm-chelupati/docs-agent/learn-2026-03-25
[Docs] SRE Agent Learn update — 2026-03-25
2 parents 423ecef + 59861cc commit 53e6f08

9 files changed

Lines changed: 115 additions & 51 deletions

articles/sre-agent/automate-actions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ First, connect an external tool. You need the connector before you can assign it
4040
1. Select **Builder** in the left sidebar.
4141
1. Select **Connectors**.
4242
1. Select **Add connector**.
43-
1. Select **Send email (Office 365 Outlook)**.
43+
1. Select the **Notification** tab, then select **Send email (Office 365 Outlook)**.
4444
1. Sign in with your Microsoft account.
4545
1. Select **Add connector**.
4646

@@ -100,7 +100,7 @@ The canvas now shows the complete workflow: scheduled task to subagent to tool.
100100
101101
Test your scheduled task to confirm everything works together.
102102
103-
1. Select **Builder** > **Scheduled tasks**.
103+
1. Select **Scheduled tasks** in the left sidebar.
104104
1. Select your task in the list (check the checkbox).
105105
1. Select **Run task now** in the toolbar.
106106
1. Select the chat thread that opens to see execution details.

articles/sre-agent/automate-workflows.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Connectors let the agent interact with external services. Start with a notificat
5151

5252
1. Go to **Builder** > **Connectors** in the left sidebar.
5353
1. Select **Add connector**.
54-
1. Select **Send email (Office 365 Outlook)**.
54+
1. Select the **Notification** tab, then select **Send email (Office 365 Outlook)**.
5555
1. Sign in and authorize access.
5656
1. Select **Next**.
5757
1. Select a **Managed identity**. The agent uses this identity at runtime to securely access the connector. Use a **User assigned** managed identity so you can reuse it across connectors and manage its lifecycle independently.
@@ -105,7 +105,7 @@ Link a scheduled task to the subagent so it runs automatically.
105105
| **Task name** | `daily-health-report` |
106106
| **Task details** | Check the health of the resources in my resource group. Verify all apps are running, check CPU, and memory metrics over the last hour, review any recent warning logs. Summarize findings and send the report. |
107107
| **Frequency** | Daily |
108-
| **Time of day** | 8:00 AM |
108+
| **Time of day** | 8:00 AM (label shows your local timezone) |
109109

110110
1. Select **Create task**.
111111

@@ -119,7 +119,7 @@ The canvas now shows the complete workflow chain visually.
119119

120120
Run the task immediately to verify everything works.
121121

122-
1. Go to **Builder** > **Scheduled tasks**.
122+
1. Go to **Scheduled tasks** in the left sidebar.
123123
1. Select your task by checking the checkbox.
124124
1. Select **Run task now** in the toolbar.
125125
1. To watch execution, select the **task name** to open the executions view, and then select the **thread name** link. You can also find the thread under **Chats** in the sidebar.

articles/sre-agent/connect-knowledge.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The following table describes the three types of knowledge sources.
4343
|---|---|---|
4444
| **Files** | Runbooks, troubleshooting guides, architecture docs, configuration references | Upload via portal, drag-and-drop, or let your agent create them during conversations |
4545
| **Web pages** | External documentation, status pages, internal wiki URLs | Add by URL. Your agent indexes the content of the given URL. |
46-
| **Repositories** | Source code for root cause analysis, deployment configs, infrastructure-as-code | Connect GitHub or Azure Repos |
46+
| **Repositories** | Source code for root cause analysis, deployment configs, infrastructure-as-code | Connect GitHub or Azure DevOps repos |
4747

4848
Each entry shows its **name**, **indexing status** (Indexed, Pending, or Not indexed), **type**, and **last modified** date.
4949

@@ -75,9 +75,30 @@ The following table compares uploading knowledge documents and sharing files in
7575

7676
## Connect source code
7777

78-
Connect your GitHub or Azure DevOps repositories so your agent can read code, search for errors, and correlate deployments with incidents. The knowledge base displays repositories with clone and indexing status.
78+
Connect GitHub or Azure DevOps repositories so your agent can search code, correlate errors with recent changes, and reference deployment configurations during investigations.
7979

80-
- To connect a GitHub repository, see [Connect source code](connect-source-code.md).
80+
### Add repositories
81+
82+
From **Builder** > **Knowledge base**, select **Add repository** to open a guided wizard that walks you through three steps:
83+
84+
| Step | What you do |
85+
|------|------------|
86+
| **1. Choose a platform** | Select **GitHub** or **Azure DevOps**. For Azure DevOps, enter your organization name. |
87+
| **2. Authenticate** | Sign in with OAuth or enter a personal access token (PAT). Azure DevOps also supports managed identity. |
88+
| **3. Add repositories** | Browse available repos from the dropdown or enter URLs manually. Add a display name and optional description for each entry. For Azure DevOps, select a project first to filter the repo list. |
89+
90+
You can add multiple repositories in a single session. Select **+** to add rows, then select **Save** when done.
91+
92+
After saving, your repositories appear in the knowledge base list with indexing status. Once indexed, your agent can reference the code in conversations.
93+
94+
### Supported platforms and authentication
95+
96+
| Platform | Auth methods | What you need |
97+
|----------|-------------|--------------|
98+
| **GitHub** | OAuth, Personal access token | GitHub account with repo access. For PAT, create a token with `repo` scope. |
99+
| **Azure DevOps** | OAuth, Personal access token, Managed identity | Azure DevOps organization access. For managed identity, assign a user-assigned managed identity to the agent resource. |
100+
101+
- To learn more about connecting GitHub repositories, see [Connect source code](connect-source-code.md).
81102
- To connect an Azure DevOps repository, see [Set up an Azure DevOps connector](azure-devops-connector.md).
82103

83104
## Next step

articles/sre-agent/connect-source-code.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Connect a GitHub or Azure DevOps repository so your agent indexes it as a knowle
5050

5151
During onboarding, select the **Add repository** card in the Knowledge Base step.
5252

53-
For an existing agent, go to **Builder** > **Knowledge settings** and select the **Add repository** action card.
53+
For an existing agent, go to **Builder** > **Knowledge base** and select the **Add repository** action card.
5454

5555
### Step 2: Choose a platform
5656

@@ -95,6 +95,19 @@ Select **Add repository** to save your changes.
9595

9696
The system automatically creates the appropriate GitHub OAuth or Azure DevOps OAuth connector if one doesn't already exist.
9797

98+
### Step 5: Try creating a pull request (preview)
99+
100+
With your repository connected, your agent can now create pull requests directly from chat.
101+
102+
1. Open a chat thread with your agent.
103+
1. Type a prompt like: *"Create a PR in https://github.com/OWNER/REPO from fix/my-branch to main titled 'Fix connection timeout'"*.
104+
1. In Review mode, select **Continue** to approve the PR creation.
105+
106+
Your agent returns a tool card with a clickable link to the created PR.
107+
108+
> [!NOTE]
109+
> Create pull requests requires Review or Autonomous run mode. The source branch must already exist with your changes committed.
110+
98111
## Manage connected repositories
99112

100113
When you reopen the Add Repository dialog, existing connected repositories appear as read-only rows in the grid.
@@ -103,7 +116,7 @@ When you reopen the Add Repository dialog, existing connected repositories appea
103116

104117
Use the following steps to remove a connected repository.
105118

106-
1. Go to **Builder** > **Knowledge settings** and select the **Add repository** action card.
119+
1. Go to **Builder** > **Knowledge base** and select the **Add repository** action card.
107120
1. Find the repository row in the grid.
108121
1. Select the **trash icon** on the row to mark it for deletion.
109122
1. Select **Add repository** to save changes.
@@ -122,7 +135,7 @@ This approach uses the Model Context Protocol (MCP) to connect GitHub tools to a
122135

123136
## Summary
124137

125-
Your agent now analyzes source code during investigations, provides file and line references for problems, creates To-do Plans showing investigation steps, and correlates production symptoms to code changes.
138+
Your agent now analyzes source code during investigations, provides file and line references for problems, creates To-do Plans showing investigation steps, correlates production symptoms to code changes, and can create pull requests in connected repos directly from chat.
126139

127140
## Next step
128141

articles/sre-agent/create-and-set-up.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ Granting the agent Reader access to your Azure resources allows it to query metr
140140

141141
**Checkpoint:** The Azure Resources card shows the connected subscriptions or resource groups.
142142

143+
> [!TIP]
144+
> The subscription picker shows **all** your subscriptions in two sections: those you can assign (where you have Owner or User Access Administrator) and those that require a higher role. A **User role** column displays your current role on each subscription. If you use **Privileged Identity Management (PIM)** for just-in-time access, the picker detects your active PIM role within seconds—no need to wait for cache refreshes.
145+
143146
> [!NOTE]
144147
> After you add subscriptions or resource groups, the agent automatically assigns the required permissions to its managed identity. This can take a few seconds—you'll see the status update on the permissions review step. Reader role provides read-only access. For advanced permission management, see [Manage permissions and access](manage-permissions.md).
145148

articles/sre-agent/create-scheduled-task.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ In this tutorial, you:
3333

3434
Follow these steps to create a new scheduled task from the portal.
3535

36-
1. Go to your agent, and select **Builder** > **Scheduled tasks**.
36+
1. Go to your agent, and select **Scheduled tasks** in the left sidebar.
3737

3838
:::image type="content" source="media/common/portal-scheduled-tasks.png" alt-text="Screenshot of scheduled tasks dashboard showing task list and toolbar.":::
3939

@@ -46,7 +46,7 @@ Follow these steps to create a new scheduled task from the portal.
4646
| **Task name** | Daily Health Check |
4747
| **Task details** | Check Azure Resource Health for all resources in prod-rg. Summarize healthy, warning, and critical counts. |
4848
| **Frequency** | Daily |
49-
| **Time of day** | 9:00 AM |
49+
| **Time of day (*timezone*)** | 9:00 AM |
5050

5151
Don't change the default values for optional fields:
5252

@@ -84,7 +84,7 @@ To change the schedule, update instructions, or switch the agent mode, edit the
8484

8585
| What to change | Field to update |
8686
|----------------|-----------------|
87-
| When it runs | **Frequency** and **Time of day** |
87+
| When it runs | **Frequency** and **Time of day (*timezone*)** |
8888
| What it does | **Task details** |
8989
| Who handles it | **Response subagent** |
9090
| How long it runs | **Repeat until** or **Run limit** |

articles/sre-agent/scheduled-tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Schedule tasks with Azure SRE Agent
33
description: Learn how to use scheduled tasks in SRE Agent to automate monitoring, enforce security, and validate recovery.
44
author: craigshoemaker
55
ms.topic: overview
6-
ms.date: 03/18/2026
6+
ms.date: 03/25/2026
77
ms.author: cshoe
88
ms.service: azure-sre-agent
99
---

0 commit comments

Comments
 (0)