Forum Discussion
FIsjTR1975
Nov 17, 2022Copper Contributor
"Limit external sharing by domain" not working in Onedrive
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 whe...
- Nov 17, 2022Perhaps 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-ps#-sharingblockeddomainlist
Nov 17, 2022
That's odd. The setting applies to OneDrive for Business as well.
- FIsjTR1975Nov 17, 2022Copper Contributor
ChristianJBergstrom yes it´s weird, i have done exactly as guided here https://learn.microsoft.com/en-us/sharepoint/restricted-domains-sharing
- Nov 17, 2022Perhaps 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-ps#-sharingblockeddomainlist- FIsjTR1975Nov 18, 2022Copper ContributorYes, there was something wrong with GUI, dunno what, but after setting limit from powershell it seems to impact to SP and OD, cheers mate.