Following the README for the copilotstudio-webchat sample
|
2. Fill in the values you recorded during setup: |
|
- `environmentId`: The Copilot Studio Environment Id. |
|
- `agentIdentifier`: The Copilot Studio Schema name. |
|
- `tenantId`: The App Registration Directory (tenant) ID. |
|
- `appClientId`: The App Registration Application (client) ID. |
I got the next error when trying to acquire the token
index.js:29 Failed to initialize: Error: Invalid cluster category value: -1
at Qi (powerPlatformEnvironment.ts:263:13)
at He.Qf [as scopeFromSettings] (powerPlatformEnvironment.ts:150:23)
at acquireToken (acquireToken.js:18:34)
at async index.js:15:17
(anonymous) @ index.js:29
I was able to fix the issue by setting the cloud to 5, seems like an issue introduced in #415
Can we provide a default value for cloud? or at least update the README to indicate the required settings
We should also verify scopeFromSettings works with directUrl
Following the README for the copilotstudio-webchat sample
Agents-for-js/test-agents/copilotstudio-webchat/README.md
Lines 53 to 57 in ad6cf18
I got the next error when trying to acquire the token
I was able to fix the issue by setting the
cloudto5, seems like an issue introduced in #415Can we provide a default value for cloud? or at least update the README to indicate the required settings
We should also verify
scopeFromSettingsworks withdirectUrl