@sam2kb/m365-mcp 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,10 +66,13 @@ Organization-wide mail application permissions such as `Mail.Read.All` are not u
|
|
|
66
66
|
2. **New registration**
|
|
67
67
|
- Name: `m365-mcp`
|
|
68
68
|
- Supported account types: **Single tenant** (or multi-tenant if you manage your own tenant)
|
|
69
|
-
- Redirect URI:
|
|
69
|
+
- Redirect URI: leave this blank; device-code flow does not use one
|
|
70
70
|
3. Click **Register**
|
|
71
|
-
4. Go to **Authentication** → **Advanced settings**
|
|
72
|
-
|
|
71
|
+
4. Go to **Authentication** → **Advanced settings**
|
|
72
|
+
5. Set **"Allow public client flows"** to **Yes**, then click **Save**
|
|
73
|
+
|
|
74
|
+
> This is required for device-code OAuth. Do not create or configure a client
|
|
75
|
+
> secret; `m365-mcp` is a public client.
|
|
73
76
|
|
|
74
77
|
### 2. Add API Permissions
|
|
75
78
|
|
|
@@ -124,6 +127,12 @@ m365-mcp-auth add work <tenant-id> <client-id> you@company.com "Work account"
|
|
|
124
127
|
m365-mcp-auth login --account=work
|
|
125
128
|
```
|
|
126
129
|
|
|
130
|
+
> **`AADSTS7000218` or a missing `client_secret` / `client_assertion` error:**
|
|
131
|
+
> Microsoft is treating the registration as a confidential client. Confirm that
|
|
132
|
+
> the configured Application (client) ID belongs to the registration you edited,
|
|
133
|
+
> then return to **Authentication** and verify **Allow public client flows** is
|
|
134
|
+
> saved as **Yes**. Do not work around this error by adding a client secret.
|
|
135
|
+
|
|
127
136
|
When running from a source checkout, use `node dist/auth-cli.js` instead of
|
|
128
137
|
`m365-mcp-auth`.
|
|
129
138
|
|
package/package.json
CHANGED