Hello Microsoft Support,
I am experiencing an issue with Microsoft Copilot Studio where an Agent Workflow works correctly in Copilot Studio Preview, but it is not invoked when the same agent is published and tested through the public Demo Website.
Environment:
- Microsoft Copilot Studio – New experience
- Agent authentication: No authentication
- Published through Copilot Studio Demo Website for stakeholder/UAT testing
- SharePoint is used as the backend data source
- The agent and workflows are inside the same Power Platform environment/solution
Scenario:
I have an agent named "AI Product Sales Assistant".
The agent has:
- A direct SharePoint Get items connector action for product data.
- An Agent Workflow named "Track Alsanidi Order Workflow" for customer order tracking.
The Product Get items tool is configured with:
- Authentication: Shared account
- SharePoint connection: company service account
- This tool works successfully from both Copilot Studio Preview and the published Demo Website.
The Order Tracking Workflow uses:
- Trigger: When an agent calls the workflow
- Inputs:
- SharePoint Get items action
- Exact server-side filter using Order ID + Customer Phone
- Top Count = 1
- Respond to the agent output
- Permissions = Always allow
- Asynchronous response = Off
- The SharePoint connection inside the workflow is valid and works correctly
Behavior in Copilot Studio Preview:
- The agent successfully invokes "Track Alsanidi Order Workflow"
- The workflow creates a run
- SharePoint returns the matching order
- The correct order tracking information is returned to the agent
Behavior after publishing:
- The agent itself works correctly on the public Demo Website
- Product search through the direct SharePoint connector also works
- However, when a user asks to track an order and provides both the Order ID and Customer Phone, the Agent Workflow is not invoked
- The agent responds that order tracking is unavailable
- Most importantly, there is no new workflow run created in the workflow Activity/Run History
This suggests the failure occurs before the workflow trigger is invoked, rather than inside the SharePoint Get items action.
Troubleshooting already completed:
- Recreated and republished the workflow
- Confirmed the workflow is ON and published
- Workflow Review reports no errors
- Flow checker reports no errors/warnings
- Confirmed both required inputs are configured with Fill with AI and proper descriptions
- Confirmed Permissions = Always allow
- Confirmed Asynchronous response = Off
- Confirmed no Trigger Conditions or Split On configuration is blocking execution
- Confirmed the SharePoint connection is valid
- Confirmed the same workflow successfully runs in Preview
- Confirmed the published agent uses No authentication intentionally because the Demo Website is being shared with internal stakeholders for anonymous UAT testing
- Confirmed a direct SharePoint tool using Shared account works successfully from the same published Demo Website
I also tested creating a Power Automate Instant Cloud Flow with "When an agent calls the flow", but the Copilot Studio Workflows picker states that Power Automate cloud flows are not supported and only workflows using "When an agent calls the workflow" are shown.
Expected behavior:
The published Copilot Studio agent should be able to invoke the Agent Workflow using the configured workflow/connector credentials, in the same way that the direct SharePoint Shared Account tool works.
Actual behavior:
The Agent Workflow is available and works in Preview, but the published public Demo Website does not invoke it and no workflow run is created.
Questions:
- Is this a supported scenario for a Copilot Studio agent configured with No authentication and published to the Demo Website?
- Can Agent Workflows use maker-provided/shared credentials when called from an anonymous published agent?
- Is there a current limitation or known issue where Agent Workflows work in Preview but cannot be invoked from a public Demo Website?
- If this scenario is supported, what configuration is required to allow the public agent to invoke the Agent Workflow?
- If it is not supported, what is Microsoft's recommended architecture for exposing an order-tracking action to anonymous website users while keeping SharePoint/service credentials private?
Please let me know if you need the Environment ID, Agent ID, Workflow ID, screenshots, or run history for further investigation.
Thank you.