Forum Discussion
Glen Steffens
Aug 11, 2017Copper Contributor
Remove share with People in TenantName option
Our InfoSec team has requested that we remove the Shared with Everyone option which we have done from the People Picker. However, the sharing option for "People in TenantName" still remains. If users...
StephenRice
Microsoft
Aug 14, 2017Hi Glen,
You're referring to the link that works for "Everyone in TenantName" correct? This can be disabled on a per-site collection basis using PowerShell. The command is:
Set-SPOSite -DisableCompanyWideSharingLinks $true
Documentation is here.
Hope that helps!
Stephen Rice
OneDrive Program Manager II
- Glen SteffensAug 16, 2017Copper ContributorThanks Stephen for the info. I am able to set this on our top-level SharePoint site(-identity https://tenant.sharepoint.com) but that doesn't apply to the OneDrive sites. I get an error when I try the same command on the Onedrive sites (-identity https://tenant-my.sharepoint.com)
Error message:
set-sposite : The property DisableCompanyWideSharingLinks cannot be set on the MySite host.- StephenRiceAug 16, 2017
Microsoft
Hi Glen,
We don't support disabling internal links on the My Site host unfortunately. You can do it on individual OneDrives though by using the identity like: "https://contoso-my.sharepoint.com/personal/srice_contoso_com"
Thanks,
Stephen Rice
OneDrive Program Manager II- Glen SteffensAug 16, 2017Copper ContributorMost unfortunate. Applying that to every existing and new site would be tedious and an audit nightmare. At least it works for SharePoint Team Site Collections but are there any future plans to support it for My Site host? If we had to come up with a way to apply this manually for a time that would be fine knowing that it was on the future roadmap.