How to limit file sharing Onedrive within organisation

Charles Wilkinson 0 Reputation points
2024-12-02T21:26:04.4766667+00:00

We have recently migrated a whole school over to 365 from google. Inadvertently, some of the shared docs carried across were shared with all students and staff. Is there an admin setting or PowerShell script to limit breadth of sharing via OneDrive within an organisation? I.e. can I limit the number of users one document is shared with. Ideally OneDrive should only be shared with an handful of colleagues. If the staff member wants to share with a bigger group they should use teams or sharepoint ,

OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,304 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiajing Hua-MFST 12,400 Reputation points Microsoft Vendor
    2024-12-03T05:45:10.17+00:00

    Hi @Charles Wilkinson

    There is currently no limit setting on the number of people shared with. You can choose Only people in your organization for OneDrive sharing, it will turn off external sharing.

    For more settings for OneDrive sharing, please see "Manage sharing settings for SharePoint and OneDrive in Microsoft 365".


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

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