Home

SPFX solution in site collection app catalog - breaks site for external user

%3CLINGO-SUB%20id%3D%22lingo-sub-205620%22%20slang%3D%22en-US%22%3ESPFX%20solution%20in%20site%20collection%20app%20catalog%20-%20breaks%20site%20for%20external%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205620%22%20slang%3D%22en-US%22%3E%3CP%3ESPFX%20solutions%20deployed%20to%20the%20site%20collection%20scoped%20app%20catalog%20(not%20the%20tenant%20app%20catalog)%20do%20not%20seem%20to%20work%20for%20external%2Fguest%20users.%20In%20the%20case%20of%20an%20application%20customizer%26nbsp%3Ba%20blank%20page%20is%20displayed%20(effectively%20breaking%20the%20entire%20site)%2C%20and%20in%20the%20case%20of%20a%20webpart%20the%20the%20component%20is%20not%20rendered%20on%20the%20page.%20The%20same%20SPFX%20solution%20works%20for%20non-external%20users%20OR%20if%20deployed%20to%20the%20tenant%20scoped%20app%20catalog.%20This%20affects%20modern%20sites%20but%20does%20not%20seem%20to%20affect%20modern%20pages%20on%20classic%20sites.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20a%20workaround%20described%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint-Developer%2FSite-Collection-App-Catalog-External-Users%2Fm-p%2F149694%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint-Developer%2FSite-Collection-App-Catalog-External-Users%2Fm-p%2F149694%3C%2FA%3E%20to%20grant%20external%20users%20read%20access%20to%20the%20tenant%20scoped%20app%20catalog%2C%20but%26nbsp%3Bthis%20grants%20external%20users%20permissions%20that%20we%20would%20prefer%20to%20avoid.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20screenshot%20of%20the%20issue%20on%20a%20modern%20team%20site%20is%20shown%20below%20-%20note%20there%20seems%20to%20be%20an%20issue%20returning%20the%20HTML%20for%20the%20page%20as%20the%20response%20is%20truncated%20partway%20through%20the%20HTML%20Head%20tag%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F36246i33D8D7FBBC1D74C3%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22modern-site-app-catalog-spfx.png%22%20title%3D%22modern-site-app-catalog-spfx.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHas%20anyone%20else%20faced%20this%20issue%20and%2For%20is%20there%20a%20resolution%20for%20this%20issue%20without%20having%20to%20grant%20external%20users%20access%20to%20the%20tenant%20app%20catalog%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-205620%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eapp%20catalog%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eexternal%20users%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESPFx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280643%22%20slang%3D%22en-US%22%3ERe%3A%20SPFX%20solution%20in%20site%20collection%20app%20catalog%20-%20breaks%20site%20for%20external%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280643%22%20slang%3D%22en-US%22%3EAppreciate%20the%20reply%2C%20I'll%20look%20into%20that%20message.%20Thanks!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280642%22%20slang%3D%22en-US%22%3ERe%3A%20SPFX%20solution%20in%20site%20collection%20app%20catalog%20-%20breaks%20site%20for%20external%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280642%22%20slang%3D%22en-US%22%3E%3CP%3EI%20don't%20have%20specifics%20on%20what%20was%20done%20to%20fix%20this%20but%20I%20did%20receive%20this%20from%20MS%20Support%20on%20the%207th%20of%20August%3A%20%22The%20fix%20is%20currently%20rolling%20out%20to%20all%20tenants.%20While%20some%20tenants%20already%20have%20the%20fix%20deployed%2C%20%5Byour%20tenant%5D%20is%20still%20not%20corrected%20yet.%20The%20full%20roll%20out%20can%20take%20up%20to%204%20weeks%2C%20but%20we%20should%20have%20it%20applied%20to%20%5Byour%20tenant%5D%20in%20a%20few%20days.%20Other%20tenants%20will%20have%20it%20soon%20as%20well%20(if%20they%20are%20not%20corrected%20already).%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-280202%22%20slang%3D%22en-US%22%3ERe%3A%20SPFX%20solution%20in%20site%20collection%20app%20catalog%20-%20breaks%20site%20for%20external%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-280202%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20we're%20still%20having%20this%20issue%2C%20the%20external%20users%20still%20cannot%20load%20SPfx%20component.%20Do%20you%20know%20what%20MS%20did%20as%20the%20fixed%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20much!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-228810%22%20slang%3D%22en-US%22%3ERe%3A%20SPFX%20solution%20in%20site%20collection%20app%20catalog%20-%20breaks%20site%20for%20external%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-228810%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20raised%20a%20support%20ticket%20with%20Microsoft%20for%20this%20issue%20and%20it%20has%20now%20been%20fixed.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Ari Bakker
New Contributor

SPFX solutions deployed to the site collection scoped app catalog (not the tenant app catalog) do not seem to work for external/guest users. In the case of an application customizer a blank page is displayed (effectively breaking the entire site), and in the case of a webpart the the component is not rendered on the page. The same SPFX solution works for non-external users OR if deployed to the tenant scoped app catalog. This affects modern sites but does not seem to affect modern pages on classic sites.

 

There is a workaround described at https://techcommunity.microsoft.com/t5/SharePoint-Developer/Site-Collection-App-Catalog-External-Use... to grant external users read access to the tenant scoped app catalog, but this grants external users permissions that we would prefer to avoid.

 

A screenshot of the issue on a modern team site is shown below - note there seems to be an issue returning the HTML for the page as the response is truncated partway through the HTML Head tag:

 

modern-site-app-catalog-spfx.png

 

Has anyone else faced this issue and/or is there a resolution for this issue without having to grant external users access to the tenant app catalog?

4 Replies

We raised a support ticket with Microsoft for this issue and it has now been fixed.

Highlighted

Hi, we're still having this issue, the external users still cannot load SPfx component. Do you know what MS did as the fixed? 

 

Thank you much!

I don't have specifics on what was done to fix this but I did receive this from MS Support on the 7th of August: "The fix is currently rolling out to all tenants. While some tenants already have the fix deployed, [your tenant] is still not corrected yet. The full roll out can take up to 4 weeks, but we should have it applied to [your tenant] in a few days. Other tenants will have it soon as well (if they are not corrected already)."

Appreciate the reply, I'll look into that message. Thanks!
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies