Getting 404 on every POST call that the sharepoint customizer is doing
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- docker, typescript
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.
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.
- Dominant language
- TypeScript
- Stars
- 797
- Forks
- 491
- PR merge metrics
- No merged PRs in 30d
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.
More from microsoft/CopilotStudioSamples
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
SharePointSSOComponent
microsoft/CopilotStudioSamples#537 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/CopilotStudioSamples#532 · 1 comment ·
-
Unable to Deploy SPFx Agent to a Single SharePoint Site (Works Only with Tenant-Wide Deployment) Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/CopilotStudioSamples#531 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in microsoft/CopilotStudioSamples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
bcgov/bc-wallet-mobile#4761 · 1 comment ·
-
external-issue to-triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
area-deployment area-integrations triage:bot-seen
Difficulty 2/5 Half a day Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
refactor
Difficulty 2/5 1-3 hours Newbie friendliness 84/100