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: docs/agent365-guided-setup/a365-setup-instructions.md
+14-31Lines changed: 14 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,44 +4,34 @@
4
4
5
5
---
6
6
7
-
> **YOUR FIRST AND ONLY ACTION RIGHT NOW:** Ask the user the path-determination questions below (up to three, depending on answers). Do NOT create todos, run commands, or read further until all applicable questions are answered. After all answers are received, create all todos for the determined path and mark Todo 1 in-progress.
7
+
> **YOUR FIRST AND ONLY ACTION RIGHT NOW:** Ask the user the two path-determination questions below. Do NOT create todos, run commands, or read further until the user has answered both questions. After both answers are received, create all todos for the determined path and mark Todo 1 in-progress.
8
8
9
-
**RULE 1 — ASK PATH-DETERMINATION QUESTIONS FIRST, THEN CREATE ALL TODOS.**
9
+
**RULE 1 — ASK TWO QUESTIONS FIRST, THEN CREATE ALL TODOS.**
10
10
11
-
Before creating any todos or running any commands, ask the user these questions (one at a time, wait for each response):
11
+
Before creating any todos or running any commands, ask the user these two questions (one at a time, wait for each response):
12
12
13
13
**Question 1: Which of the following best describes your agent?**
14
14
15
15
1. M365 custom engine agent
16
16
2. All other agents
17
17
18
-
Wait for the answer.
19
-
20
-
- If the user answered **1 (M365 custom engine agent)**: ask Question 1b below.
21
-
- If the user answered **2 (All other agents)**: set `agentType = 3`, skip Question 1b, and proceed directly to Question 2.
22
-
23
-
**Question 1b: Is your M365 agent using an Entra app ID or a Blueprint?**
24
-
25
-
1. Entra app ID
26
-
2. Blueprint
27
-
28
-
Wait for the answer. Then set `agentType`:
29
-
- If **1 (Entra app ID)**: `agentType = 1`
30
-
- If **2 (Blueprint)**: `agentType = 2`
18
+
Wait for the answer. Store as `agentType`:
19
+
- If **1 (M365 custom engine agent)**: `agentType = 1`
20
+
- If **2 (All other agents)**: `agentType = 2`
31
21
32
22
**Question 2: What capabilities do you want to enable?**
33
23
34
24
Present only the options that apply to the user's `agentType`:
**Standard path** — `isAITeammate = false` (3 todos total):
60
50
- Todo 1: `Step 1: Verify and Install/Update the Agent 365 CLI`
61
51
- Todo 2: `Step 2: Ensure Prerequisites and Environment Configuration`
62
52
- Todo 3: `Step 4: Run Agent 365 Setup to Provision Prerequisites`
63
53
64
-
**Entra app ID path** — `agentType = 1` (3 todos total):
65
-
- Todo 1: `Step 1: Verify and Install/Update the Agent 365 CLI`
66
-
- Todo 2: `Step 2: Ensure Prerequisites and Environment Configuration`
67
-
- Todo 3: `Step 4: Run Agent 365 Setup to Provision Prerequisites`
68
-
69
-
> **Note for Entra app ID agents (`agentType = 1`):** Steps 3 and 5 (Blueprint configuration and publish/deploy) do not apply. Follow Steps 1, 2, and 4 only.
70
-
71
54
**RULE 2 — ALWAYS BEGIN FROM STEP 1.** No step is optional within your path. Even if the CLI appears installed or Azure appears logged in, you MUST run the validation commands in each step. Step 3 (Configure) is only required on the AI Teammate path (`isAITeammate = true`) — it is skipped entirely on all other paths.
72
55
73
56
**RULE 3 — SUB-SECTIONS ARE NOT SEPARATE TODOS.** Each `## Step` has internal sub-sections — these are tasks WITHIN that step, NOT separate todos.
> If `isAITeammate = false` (Standard or Entra app ID path), you should NOT be here. Go back, mark Todo 3 (Step 4) in-progress, and jump directly to Step 4.
229
+
> If `isAITeammate = false` (Standard path), you should NOT be here. Go back, mark Todo 3 (Step 4) in-progress, and jump directly to Step 4.
247
230
>
248
231
> If `isAITeammate = true`, continue below.
249
232
@@ -617,7 +600,7 @@ After `a365 setup all` completes, show the user exactly this — nothing more, n
617
600
618
601
Mark all todos as completed, then check `capabilities`:
619
602
620
-
> **If `capabilities` includes "Observability"** (`agentType = 1` with either option, or `agentType = 3` with "Discoverability and Observability"): immediately start following `#file:a365-observability-instructions.md`. The user already selected observability — do NOT ask again, just proceed.
603
+
> **If `capabilities` includes "Observability"** (`agentType = 1` with Observability or Observability and Work IQ, or `agentType = 2` with Discoverability and Observability or Discoverability, Observability, and Work IQ): immediately start following `#file:a365-observability-instructions.md`. The user already selected observability — do NOT ask again, just proceed.
621
604
>
622
605
> **Otherwise**: say to the user verbatim:
623
606
> "Your agent is provisioned. Would you like to add observability so you can trace LLM calls, tool dispatches, and agent-to-agent calls?"
0 commit comments