Allow external sharing in SharePoint Online only with specific domains

Short Powershell script that limits external sharing in SharePoint Online to only specific mail domains.

4 Star
1,133 times
Add to favorites
Office 365
E-mail Twitter Digg Facebook
  • Does this only affect new external sharing?
    1 Posts | Last post May 21, 2018
    • Is this setting to restrict external sharing enforced on already created share links?  Or only links that are created after the setting is enabled?  I think there is something similar with restricting anonymous links by using an expiration period, in that the restriction does not affect links that are already in place, only new ones.
      Thanks - Rick 
  • Thanks
    2 Posts | Last post February 19, 2018
    • Nice script many thanks for it.
    • Thank you for the feedback :)