microsoft / microsoft/CopilotStudioSamples

Copilotchat control configuration error

Open
#453 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
797
Forks
491
PR merge metrics
No merged PRs in 30d

Description

Referring https://github.com/microsoft/CopilotStudioSamples/tree/main/PCFControls/ChatControl

While implementing the Copilotchat control in Canvas PowerApps getting below error in
Chrome (Incognito with Third party cookies allowed),

conversations?api-version=2022-03-01-preview | (failed)net::ERR_FAILED | fetch | base.js:2
conversations?api-version=2022-03-01-preview | (failed)net::ERR_NAME_NOT_RESOLVED

The Entra App registration is configured as per steps mentioned.
In Edge browser it gives error
app-sw:1 Uncaught (in promise) TypeError: Failed to convert value to 'Response'.

In Chrome regular browser with out Incognito mode
"Unable to acquire token" error but no clear error message in the Network tab.

Any guidance on configuration of the control will help

Thanks in advance
Prasad

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PCFControls/ChatControl implementation linked in the issue and inspect the failing requests in base.js and the _app-sw error in Edge. Reproduce the control in Canvas PowerApps using the stated Entra App registration and browser conditions. Done means identifying the configuration cause and documenting or validating a configuration that avoids the token and request errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.