microsoft / microsoft/CopilotStudioSamples
Getting 404 on every POST call that the sharepoint customizer is doing
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 797
- Forks
- 491
- PR merge metrics
- No merged PRs in 30d
Description
What sample tool are you using?
I'm using this sample https://github.com/microsoft/CopilotStudioSamples/tree/main/ui/embed/sharepoint-customizer
Describe the bug
After building the project and deploying to Sharepoint, the Agent is not working because every call to the directConnectUrl return 404. I have tried configuring environmentID + agentID and just directConnectUrl fetching it from the "web App" channel from copilot studio. Nothing works.
To Reproduce
Steps to reproduce the behavior:
- Build the project with real configs
- deploy the customizer
- click the copilot icon
- the chat will not start
Expected behavior
I expect the chat to start
Screenshots
Additional context
Building with docker apline npm 22 image. No errors during the build.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ui/embed/sharepoint-customizer sample and trace how directConnectUrl, environmentID, and agentID are configured and used during the chat startup. Reproduce the build and SharePoint deployment, then inspect the POST requests that return 404. Done means the deployed customizer starts the chat successfully with the documented configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, typescript
- Domain
- api, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100