Copilot Studio published public agent cannot invoke Agent Workflow, although it works in Preview

Mohamed Elsayed Tawfik 5 Reputation points
2026-10-05T20:47:02.3966667+00:00

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:

  1. A direct SharePoint Get items connector action for product data.
  2. 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:
    • order_id
    • customer_phone
  • 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:

  1. Is this a supported scenario for a Copilot Studio agent configured with No authentication and published to the Demo Website?
  2. Can Agent Workflows use maker-provided/shared credentials when called from an anonymous published agent?
  3. Is there a current limitation or known issue where Agent Workflows work in Preview but cannot be invoked from a public Demo Website?
  4. If this scenario is supported, what configuration is required to allow the public agent to invoke the Agent Workflow?
  5. 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.

Microsoft Copilot | Microsoft 365 Copilot | Development
0 comments No comments

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 10,546 Reputation points Microsoft External Staff Moderator
    2026-10-06T06:28:14.7566667+00:00

    Based on the behavior described, the issue does not appear to be related to the SharePoint action or workflow execution itself. The key observation is that no workflow run is created when the agent is accessed through the Demo Website, which indicates the failure is occurring before the "When an agent calls the workflow" trigger is invoked.

    Documentation Findings

    The Demo Website is intended for testing and stakeholder validation rather than production workloads.

    At present, there is no documented confirmation that Agent Workflows are supported when invoked from a No Authentication Demo Website using maker/service-account credentials. Based on the symptoms, this appears more likely to be:

    A channel-specific limitation for anonymous users, or

    A product issue in workflow invocation/orchestration for the Demo Website channel.

    Recommended Validation

    To isolate the issue, please test whether the same workflow can be invoked when the agent is published to an authenticated channel (e.g., Teams). If the workflow runs successfully there, it will strongly indicate that the issue is specific to the Demo Website/anonymous access scenario rather than the workflow or SharePoint configuration itself.

    Recommended Architecture for Anonymous Users

    If the requirement is to support anonymous website users while keeping backend SharePoint credentials private, the recommended approach is to expose the order-tracking logic through a backend service (e.g., API/Azure Function using a service account) and have the agent call that endpoint, rather than relying on an Agent Workflow invoked from an anonymous channel.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.