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: 1.24 Beta 2
- NodeJS: 22.23.1
Describe the bug / error
The Copilot component was built and deployed to the Tenant App Catalog. I used the "Add to Teams" option and installed the agent from Agent365. However, when I try to invoke the agent from a Declarative Agent, the tool is not being called.
I tested both the out-of-the-box (OOTB) sample tools and custom tools, but neither of them works. The tools are invoked successfully in Copilot Workbench, but they do not work when the Declarative Agent is deployed.
Steps to reproduce
- Build and deploy the Copilot Component to the Tenant App Catalog.
- Use Add to Teams and verify the app is available.
- Install the agent from Agent365.
- Test the tool in Copilot Workbench – tool invocation works as expected.
- Open the deployed Declarative Agent in Teams/Microsoft 365 Copilot.
- Submit a prompt that should trigger the tool.
- Observe that the tool is not invoked.
Expected behavior
Tool should be invoked from the Declarative Agent.
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
The Copilot component was built and deployed to the Tenant App Catalog. I used the "Add to Teams" option and installed the agent from Agent365. However, when I try to invoke the agent from a Declarative Agent, the tool is not being called.
I tested both the out-of-the-box (OOTB) sample tools and custom tools, but neither of them works. The tools are invoked successfully in Copilot Workbench, but they do not work when the Declarative Agent is deployed.
Steps to reproduce
Expected behavior
Tool should be invoked from the Declarative Agent.