@squadbase/connectors 0.1.2-dev.6 → 0.1.2-dev.7
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.
|
@@ -385,7 +385,7 @@ var parameters18 = {
|
|
|
385
385
|
clientId: new ParameterDefinition({
|
|
386
386
|
slug: "client-id",
|
|
387
387
|
name: "Azure AD Client ID",
|
|
388
|
-
description: "The Application (client) ID from your Azure AD app registration.",
|
|
388
|
+
description: "The Application (client) ID from your Azure AD app registration. Required API Permissions (Application, admin consent required): Team.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Read.All, Chat.Read.All, User.Read.All",
|
|
389
389
|
envVarBaseKey: "MS_TEAMS_CLIENT_ID",
|
|
390
390
|
type: "text",
|
|
391
391
|
secret: false,
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
parameters7,
|
|
19
19
|
parameters8,
|
|
20
20
|
parameters9
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YXL7FUX2.js";
|
|
22
22
|
|
|
23
23
|
// src/connector-setup.ts
|
|
24
24
|
var ConnectorSetup = class {
|
|
@@ -6466,7 +6466,12 @@ const data = await res.json();
|
|
|
6466
6466
|
- Use the client credentials flow to get an access token
|
|
6467
6467
|
- Application permissions require admin consent in Azure AD
|
|
6468
6468
|
- Pagination uses \`@odata.nextLink\` URL in the response
|
|
6469
|
-
- Required API permissions: Team.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Read.All, Chat.Read.All, User.Read.All
|
|
6469
|
+
- Required API permissions: Team.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Read.All, Chat.Read.All, User.Read.All
|
|
6470
|
+
|
|
6471
|
+
### Troubleshooting
|
|
6472
|
+
- If the token request returns an error, verify that the Client ID, Client Secret, and Tenant ID are correct
|
|
6473
|
+
- If Graph API returns **403 Forbidden**, the Azure AD app is missing required Application permissions or admin consent has not been granted. Ask the user to go to Azure Portal > App registrations > API permissions and grant admin consent for: Team.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Read.All, Chat.Read.All, User.Read.All
|
|
6474
|
+
- If Graph API returns **401 Unauthorized**, the access token may be invalid or expired \u2014 re-acquire it using the client credentials flow`,
|
|
6470
6475
|
tools: tools31
|
|
6471
6476
|
});
|
|
6472
6477
|
|
package/dist/sdk.js
CHANGED