You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sre-agent/automate-workflows.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ Connectors let the agent interact with external services. Start with a notificat
51
51
52
52
1. Go to **Builder** > **Connectors** in the left sidebar.
53
53
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)**.
55
55
1. Sign in and authorize access.
56
56
1. Select **Next**.
57
57
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.
105
105
|**Task name**|`daily-health-report`|
106
106
|**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. |
107
107
|**Frequency**| Daily |
108
-
|**Time of day**| 8:00 AM |
108
+
|**Time of day**| 8:00 AM (label shows your local timezone) |
109
109
110
110
1. Select **Create task**.
111
111
@@ -119,7 +119,7 @@ The canvas now shows the complete workflow chain visually.
119
119
120
120
Run the task immediately to verify everything works.
121
121
122
-
1. Go to **Builder** > **Scheduled tasks**.
122
+
1. Go to **Scheduled tasks** in the left sidebar.
123
123
1. Select your task by checking the checkbox.
124
124
1. Select **Run task now** in the toolbar.
125
125
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.
Copy file name to clipboardExpand all lines: articles/sre-agent/connect-knowledge.md
+24-3Lines changed: 24 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ The following table describes the three types of knowledge sources.
43
43
|---|---|---|
44
44
|**Files**| Runbooks, troubleshooting guides, architecture docs, configuration references | Upload via portal, drag-and-drop, or let your agent create them during conversations |
45
45
|**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|
47
47
48
48
Each entry shows its **name**, **indexing status** (Indexed, Pending, or Not indexed), **type**, and **last modified** date.
49
49
@@ -75,9 +75,30 @@ The following table compares uploading knowledge documents and sharing files in
75
75
76
76
## Connect source code
77
77
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 errorswith recent changes, and reference deployment configurations during investigations.
79
79
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).
81
102
- To connect an Azure DevOps repository, see [Set up an Azure DevOps connector](azure-devops-connector.md).
Copy file name to clipboardExpand all lines: articles/sre-agent/connect-source-code.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Connect a GitHub or Azure DevOps repository so your agent indexes it as a knowle
50
50
51
51
During onboarding, select the **Add repository** card in the Knowledge Base step.
52
52
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.
54
54
55
55
### Step 2: Choose a platform
56
56
@@ -95,6 +95,19 @@ Select **Add repository** to save your changes.
95
95
96
96
The system automatically creates the appropriate GitHub OAuth or Azure DevOps OAuth connector if one doesn't already exist.
97
97
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
+
98
111
## Manage connected repositories
99
112
100
113
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
103
116
104
117
Use the following steps to remove a connected repository.
105
118
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.
107
120
1. Find the repository row in the grid.
108
121
1. Select the **trash icon** on the row to mark it for deletion.
109
122
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
122
135
123
136
## Summary
124
137
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.
Copy file name to clipboardExpand all lines: articles/sre-agent/create-and-set-up.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,9 @@ Granting the agent Reader access to your Azure resources allows it to query metr
140
140
141
141
**Checkpoint:** The Azure Resources card shows the connected subscriptions or resource groups.
142
142
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
+
143
146
> [!NOTE]
144
147
> 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).
Copy file name to clipboardExpand all lines: articles/sre-agent/create-scheduled-task.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ In this tutorial, you:
33
33
34
34
Follow these steps to create a new scheduled task from the portal.
35
35
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.
37
37
38
38
:::image type="content" source="media/common/portal-scheduled-tasks.png" alt-text="Screenshot of scheduled tasks dashboard showing task list and toolbar.":::
39
39
@@ -46,7 +46,7 @@ Follow these steps to create a new scheduled task from the portal.
46
46
|**Task name**| Daily Health Check |
47
47
|**Task details**| Check Azure Resource Health for all resources in prod-rg. Summarize healthy, warning, and critical counts. |
48
48
|**Frequency**| Daily |
49
-
|**Time of day**| 9:00 AM |
49
+
|**Time of day (*timezone*)**| 9:00 AM |
50
50
51
51
Don't change the default values for optional fields:
52
52
@@ -84,7 +84,7 @@ To change the schedule, update instructions, or switch the agent mode, edit the
84
84
85
85
| What to change | Field to update |
86
86
|----------------|-----------------|
87
-
| When it runs |**Frequency** and **Time of day**|
87
+
| When it runs |**Frequency** and **Time of day (*timezone*)**|
88
88
| What it does |**Task details**|
89
89
| Who handles it |**Response subagent**|
90
90
| How long it runs |**Repeat until** or **Run limit**|
0 commit comments