Forum Discussion
Markus Kling
Nov 23, 2016Copper Contributor
365 Groups "Full Teamsite" & External Sharing
I tried to share a single library/file from an 365 group's teamsite with an external user not beeing a member of the group. Regretfully, SharePoint does not allow it, telling me its prohibited by pol...
- Nov 26, 2016
You can change the default using PowerShell.
From https://support.office.com/en-us/article/Manage-external-sharing-for-your-SharePoint-Online-environment-c8a462eb-0723-4b0b-8d0a-70feafe4be85?ui=en-US&rs=en-US&ad=US:
"By default, all SharePoint site collections that are part of an Office 365 Group have the sharing setting set to Allow sharing only with the external users that already exist in your organization’s directory. To change this setting, you can use the Set-SPOSite Windows PowerShell cmdlet."
Anonymous
Jul 13, 2017Hi Markus,
try this one:
Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -SharingCapability ExternalUserAndGuestSharing
This worked for me.
Eugen
Anonymous
Jul 13, 2017https://msdn.microsoft.com/library/office/microsoft.online.sharepoint.tenantmanagement.sharingcapabilities.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1