sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SPFx Application Customizer issue in SPO Hub Communication sites.

Open srisspfx opened this issue 5 years ago • 4 comments

Hi Team,

We have tenant wide deployed SPFx Application Customizer. These custom stuffs are not loading in SPO Hub Communication sites. Also we are not able to add Modern script editor web parts. Is there any script blocks which need to be removed on SPO Hub Communication sites, so that custom scripts can be added. Please help.

Thanks in advance, Sridhar S

srisspfx avatar Mar 25 '21 14:03 srisspfx

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

ghost avatar Mar 25 '21 14:03 ghost

Try to enable Custom Script for your Communication site : Set-SPOsite <SiteURL> -DenyAddAndCustomizePages 0

Reference: https://docs.microsoft.com/en-us/sharepoint/allow-or-prevent-custom-script

Michael Han Microsoft SharePoint Community Support

michaelhan-1 avatar Mar 26 '21 01:03 michaelhan-1

Thanks Michael, We will try this and let you know whether that fixes the issue.

Sridhar

srisspfx avatar Mar 28 '21 15:03 srisspfx

Closing this issue as "answered". If you encounter a similar issue(s), please open up a new issue. See our wiki for more details: Issue-List: Our approach to closed issues

ghost avatar Apr 02 '21 15:04 ghost