Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

[BUG] ExternalSharing disabled globally when using AllowFileSharingForGuestUsers on SiteCollection #2725

Open
ypcode opened this issue Aug 5, 2020 · 1 comment

Comments

@ypcode
Copy link
Contributor

ypcode commented Aug 5, 2020

Hi fellows !

Environment

[x] Office 365 / SharePoint Online
[ ] SharePoint 2016
[ ] SharePoint 2013

Expected or Desired Behavior

Setting AllowFileSharingForGuestUsers should only affect the setting of the target site collection

Observed Behavior

An issue as been reported and reproduced by at least two users of the Site Designs Studio when applying the .pnp template to install the solution, the external sharing has been globally disabled on the tenant
See the XML template here

See the Site Designs Studio repo issue here

Steps to Reproduce

The command executed with the template above is as follows

$sitePath= "SiteDesignsStudio"
$tenantId = Get-PnPTenantId
Apply-PnPTenantTemplate -Path .\SiteDesignsStudio.pnp -Parameter @{TenantName=$tenantName; SitePath=$sitePath; TenantId=$tenantId}

As far as I am concerned in this particular case, this setting is not mandatory for the solution to work, I have removed it from the setup package.
I am escalading this here since because I guess it is related to the engine but since I used the PnP cmdlet, it might be relevant to be there, please tell me if I should move this issue :)

Cheers !
Yannick

@ghost
Copy link

ghost commented Aug 5, 2020

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Aug 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant