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: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
7
7
## [Unreleased]
8
8
9
9
### Added
10
+
- Re-enabled `a365 create-instance` command (previously deprecated) — creates agent identity, agent user, and assigns licenses in a single command. The custom client app now requires the `User.ReadWrite.All` delegated permission for user creation and license assignment; existing users may need to update admin consent on their client app.
10
11
-`Agent365.Observability.OtelWrite` scope now granted to all provisioned agent identities on the Observability API alongside `user_impersonation`, enabling agents to write OpenTelemetry data to the Agent 365 observability service
11
12
-`ChannelMessage.Read.All` and `ChannelMessage.Send` added to default blueprint Microsoft Graph delegated scopes (`agentIdentityScopes`)
12
13
-`Files.ReadWrite.All`, `ChannelMessage.Read.All`, and `ChannelMessage.Send` added to default blueprint Microsoft Graph application scopes (`agentApplicationScopes`)
@@ -18,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
18
19
-`a365 publish` updates manifest IDs, creates `manifest.zip`, and prints concise upload instructions for Microsoft 365 Admin Center (Agents > All agents > Upload custom agent). Interactive prompts only occur in interactive terminals; redirect stdin to suppress them in scripts.
19
20
20
21
### Fixed
22
+
-`A365CreateInstanceRunner` sponsor handling: sponsor is now required (Graph API rejects requests without one) — removed fallback that silently stripped the sponsor on retry, which caused `BadRequest` errors
21
23
- Intermittent `ConnectionResetError (10054)` failures on corporate networks with TLS inspection proxies (Zscaler, Netskope) — Graph and ARM API calls now use direct MSAL.NET token acquisition instead of `az account get-access-token` subprocesses, bypassing the Python HTTP stack that triggered proxy resets (#321)
22
24
-`a365 cleanup` blueprint deletion now succeeds for Global Administrators even when the blueprint was created by a different user
23
25
-`a365 setup all` no longer times out for non-admin users — the CLI immediately surfaces a consent URL to share with an administrator instead of waiting for a browser prompt
Copy file name to clipboardExpand all lines: docs/agent365-guided-setup/a365-setup-instructions.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ After installing or updating, confirm the CLI is ready by running `a365 -h` to d
57
57
58
58
### Adapt to CLI version differences
59
59
60
-
The CLI is under active development, and some commands may have changed in recent versions. The instructions in this prompt assume you have the latest version. If you discover that a command referenced later (such as `publish`) is not recognized, it means you have an older version – in that case, upgrade the CLI. Using the latest version is essential because older flows (e.g. the `create-instance` command) have been deprecated in favor of new commands (`publish`, etc.). If upgrading isn't possible, adjust your steps according to the older CLI's documentation (for example, use the old `a365 create-instance` command in place of `publish`), but prefer to upgrade if at all feasible.
60
+
The CLI is under active development, and some commands may have changed in recent versions. The instructions in this prompt assume you have the latest version. If you discover that a command referenced later (such as `publish`) is not recognized, it means you have an older version – in that case, upgrade the CLI. Using the latest version is essential because the CLI evolves rapidly and newer versions include important fixes and new commands (e.g. `create-instance`, `publish`). If upgrading isn't possible, adjust your steps according to the older CLI's documentation, but prefer to upgrade if at all feasible.
61
61
62
62
### Step 1 completion
63
63
@@ -89,25 +89,27 @@ Once the user provides the ID, replace `<CLIENT_APP_ID>` in the command below an
89
89
az ad app show --id <CLIENT_APP_ID> --query "{appId:appId, displayName:displayName, requiredResourceAccess:requiredResourceAccess}" -o json && az ad app permission list-grants --id <CLIENT_APP_ID> --query "[].{resourceDisplayName:resourceDisplayName, scope:scope}" -o table
90
90
```
91
91
92
-
From the output of the command above, verify these 5 permissions appear with admin consent. If any are missing or consent is not granted, see "What to do if validation fails" below.
92
+
From the output of the command above, verify these 7 permissions appear with admin consent. If any are missing or consent is not granted, see "What to do if validation fails" below.
93
93
94
94
Required **delegated** Microsoft Graph permissions (all must have **admin consent granted**):
|`AgentIdentityBlueprint.AddRemoveCreds.All`| Add and remove credentials on Agent Identity Blueprints |
100
101
|`Application.ReadWrite.All`| Create and manage Azure AD applications |
101
102
|`DelegatedPermissionGrant.ReadWrite.All`| Grant delegated permissions |
102
103
|`Directory.Read.All`| Read directory data |
104
+
|`User.ReadWrite.All`| Create agent users, set usage location, and assign licenses |
103
105
104
106
If the app does not exist, permissions are missing, or admin consent has not been granted, see "What to do if validation fails" below.
105
107
106
108
**If validation fails** (app not found, permissions missing, or no admin consent):
107
109
108
110
1. STOP — do not proceed to run any `a365` CLI commands.
109
111
2. Inform the user the custom client app registration is missing or incomplete.
110
-
3. Direct the user to the official setup guide: register the app, configure as a Public client with redirect URI `http://localhost:8400`, add all five permissions above, and have a Global Admin grant admin consent.
112
+
3. Direct the user to the official setup guide: register the app, configure as a Public client with redirect URI `http://localhost:8400`, add all seven permissions above, and have a Global Admin grant admin consent.
111
113
4. Wait for the user to confirm the app is properly configured, then re-run the same validation command above.
112
114
113
115
Save the `clientAppId` value — it will be used automatically in Step 3 (do NOT ask the user for it again).
0 commit comments