Forum Discussion
harrydemedici
Apr 15, 2025Copper Contributor
Using Microsoft Purview to limit OneDrive external sharing capability
I want to enable OneDrive external sharing, but only for a specified group. The members of this group may change from time to time. There isn't any way for me to do this in the SharePoint Admin centr...
- Apr 16, 2025
You can configure sharing settings on a per-site basis via PowerShell, so generate a list of ODFBs for the users in said group and use Set-SPOSite to configure the restrictions. Labels can be overridden by users, as they "own" everything within their ODFB.
VasilMichev
Apr 16, 2025MVP
You can configure sharing settings on a per-site basis via PowerShell, so generate a list of ODFBs for the users in said group and use Set-SPOSite to configure the restrictions. Labels can be overridden by users, as they "own" everything within their ODFB.
harrydemedici
Apr 16, 2025Copper Contributor
Thanks VasilMichev for responding. We did look at this option but we are certain restrictions on how we can use PowerShell in our tenant. But it's something I'll take a further look into as it sounds like it would be the only option.