Building and customizing solutions using Microsoft 365 Copilot APIs and tools
The error message indicates that sharing is disabled in the environment, and this is blocking the use of the agent flow in the Copilot Studio topic. This is an environment-level governance setting, not an issue with the topic or the flow itself.
To resolve this, an administrator must change the environment’s sharing/governance configuration so that sharing is allowed. Until that setting is updated, any operation that requires sharing (such as using or assigning certain flows/agents) will be blocked with this error.
Because this is enforced at the environment level, there’s no fix within the topic or flow designer itself; it must be addressed by the environment/tenant admin through the environment’s security and data policy settings.
References: