Forum Discussion
Changing sharing setting in a existing Teams private channel
- Apr 21, 2021
Hi HeikkiR - thank you for pointing out that Sites associated with private channels don't show up in the admin center - that's pretty crazy. I did find this: Change the external sharing setting for a site - SharePoint in Microsoft 365 | Microsoft Docs, which has a link to set external sharing on private channels using powershell: Set-SPOSite (SharePointOnlinePowerShell) | Microsoft Docs
It shows this in Example 7 - sets the Sharing Capability to allow external users who accept sharing invitations and sign in as authenticated users, and then specifies an email domain that is allowed for sharing with the external collaborators.
Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -SharingCapability ExternalUserSharingOnly
Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -SharingDomainRestrictionMode AllowList -SharingAllowedDomainList "contoso.com"
Hi HeikkiR - a private channel creates a completely separate SharePoint Site so it won't inherit anything from the main Teams site. Go to your SharePoint Admin Center, select the radio button next to the site name, and then click on Sharing. You can adjust external sharing settings from there.