-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
external sharing is disabled globally #12
Comments
Hello @ecomDev33, That is indeed an issue! It definitely should not! It is probably related to the fact that the Tenant template that is applied is changing this setting. Let me double check :) Best regards, |
Hey, I just checked and there is nothing in the template that explicitly affects that tenant wide external sharing setting. Best regards, |
Hi @ypcode Next event, change sharing policies
Best regards, |
Hi guys, Thank you for reporting, I double-checked the .pnp package file and it looks indeed that there is a setting that might cause that. ...
<pnp:Sequence ID="MAIN-SEQUENCE">
<pnp:SiteCollections>
<pnp:SiteCollection d4p1:type="pnp:CommunicationSite" Title="Site Designs Studio" .... AllowFileSharingForGuestUsers="false" ....>
<pnp:Templates>
<pnp:ProvisioningTemplateReference ID="SITE-DESIGNS-STUDIO-V2-APP" />
</pnp:Templates>
</pnp:SiteCollection>
</pnp:SiteCollections>
</pnp:Sequence>
... It is really an odd issue but it looks like the XML is somehow altered when saved in the .pnp package However, I am not sure since it should only affect the created site collection and not the whole tenant... Could you please guys give it another try with the latest setup files ? Regards, |
Hi @ypcode I tried to deployed with the latest setup files but it still disable external sharing globally |
i just deployed the latest version and i had the issue |
Hi guys, Thanks for confirming! I do think the issue comes from the PnP PowerShell cmdlet used in the setup script. Or at least the tenant provisioning engine since the template itself doesn't explicitly touch the sharing settings. I'll keep you informed as soon as I get more info about it! Thank you very much for reporting that! Regards, |
I ran the command pwd as requested
Apply-PnPTenantTemplate -Path .\SiteDesignsStudio.pnp -Parameter @{TenantName=$tenantName; SitePath=$sitePath; TenantId=$tenantId}
The collection site is well created but external sharing has also been disabled globally on the Tenant.
I reproduced the same issue on another Tenant.
Why the process disable external sharing?
The text was updated successfully, but these errors were encountered: