sharepoint online DisableCompanyWideSharingLinks
reposting Igor’s question here as per MSFT’s suggestion :
“How can I disable the ‘Share with entire organization’ option globally for OneDrive and SharePoint in Microsoft 365? I’ve examined the documentation at https://learn.microsoft.com/en-us/microsoft-365/solutions/microsoft-365-limit-sharing?view=o365-worldwide#sharing-with-specific-people and discovered PowerShell commands such as ‘Set-SPOSite -Identity https://contoso.sharepoint.com -DisableCompanyWideSharingLinks Disabled’ for SharePoint sites and ‘Set-SPOSite -Identity https://contoso-my.sharepoint.com/personal/my_alias_contoso_com -DisableCompanyWideSharingLinks Disabled’ for OneDrives. The challenge is executing these commands for each site and user in our environment. Is there a method to apply this globally across the entire organization?”
reposting Igor’s question here as per MSFT’s suggestion : “How can I disable the ‘Share with entire organization’ option globally for OneDrive and SharePoint in Microsoft 365? I’ve examined the documentation at https://learn.microsoft.com/en-us/microsoft-365/solutions/microsoft-365-limit-sharing?view=o365-worldwide#sharing-with-specific-people and discovered PowerShell commands such as ‘Set-SPOSite -Identity https://contoso.sharepoint.com -DisableCompanyWideSharingLinks Disabled’ for SharePoint sites and ‘Set-SPOSite -Identity https://contoso-my.sharepoint.com/personal/my_alias_contoso_com -DisableCompanyWideSharingLinks Disabled’ for OneDrives. The challenge is executing these commands for each site and user in our environment. Is there a method to apply this globally across the entire organization?” Read More