Share via

Copilot Studio Sharing is disabled Error

Shubham Kumar Vishwakarma 20 Reputation points
2026-05-05T13:57:28.8633333+00:00

When I am adding any Agent Flow in my Copilot Bot Topic and saving that Topic I am getting an error:

HTTP Status:BadRequest, ServiceRequestId: 83dfdf85-8a07-4117-ad60-d1ea3977445e [0x80040265:IsvAborted] {"statuscode":500,"statusdescription":"Internal Server Error","errors":[{"code":10000,"message":"{"statuscode":500,"statusdescription":"Internal Server Error","errors":[{"code":10000,"message":"{\"ViolationCount\":1,\"Action\":\"Block\",\"WarningMessage\":null,\"ViolationDetails\":[{\"ViolationMessage\":\"<p>Sharing is disabled in this environment.</p><p><a href=https://go.microsoft.com/fwlink/?linkid=2211538>Learn more.</a></p>\",\"ViolationMessagePlainText\":\"Sharing is disabled in this environment.Learn more here: https://go.microsoft.com/fwlink/?linkid=2211538.\",\"ViolationTypeMessage\":\"Sharing is disabled in this environment.\"}],\"ErrorMessageSettings\":{\"Email\":\"\",\"WikiUrl\":\"\"}}"}]}"}]}

Which I am unable to fix

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

Answer accepted by question author

  1. Q&A Assist
    2026-05-05T13:57:40.2533333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    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:

0 additional answers

Sort by: Most 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.