Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
- SPFx version: 1.24.0-beta.2
- Node.js version: 22.22.2
Describe the bug / error
I have created a Copilot Component from scratch with no framework option and I cannot run it in M365 Copilot. When I select the agent in the Agents menu in M365 Copilot I'm getting the error "Something went wrong".
I have some errors in the console:
Debugging in the Copilot Workbench works well without any error.
Steps to reproduce
- Create a new Copilot Component using the Yeoman generator
- Build and package the component
- Add the package to the tenant app catalog
- Click "Add to Teams" button
- Go to M365 Copilot and select the agent
Expected behavior
I can use the agent in M365 Copilot without any error.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
I have created a Copilot Component from scratch with no framework option and I cannot run it in M365 Copilot. When I select the agent in the Agents menu in M365 Copilot I'm getting the error "Something went wrong".
I have some errors in the console:
Debugging in the Copilot Workbench works well without any error.
Steps to reproduce
Expected behavior
I can use the agent in M365 Copilot without any error.