SOLVED

"Limit external sharing by domain" not working in Onedrive

New Contributor

We have applied policy setting "Limit external sharing by domain" in Sharepoint admin to prevent sharing content to some domains from Sharepoint and Onedrive.  It seems that limit is working fine when sharing from sharepoint site. But in Onedrive "personal" (https://contoso-my.sharepoint.com/personal/user_name_contoso_com ) it seems that there is no impact, we can share content to all domains without problems. How this limit shoud be applied to Onedrive as organizational wide setting?

4 Replies
That's odd. The setting applies to OneDrive for Business as well.
best response confirmed by FIsjTR1975 (New Contributor)
Solution
Perhaps use Set-SPOTenant to view how it looks or try setting it up from there.

https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/Set-SPOTenant?view=sharepoint-...
Yes, there was something wrong with GUI, dunno what, but after setting limit from powershell it seems to impact to SP and OD, cheers mate.