SOLVED

Public facing website and SPFx

%3CLINGO-SUB%20id%3D%22lingo-sub-269488%22%20slang%3D%22en-US%22%3EPublic%20facing%20website%20and%20SPFx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269488%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Everyone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20wonder%20if%20someone%20knows%20if%20the%20SPFx%20that%20ships%20with%20SharePoint%202019%20(1.4.1%20in%20the%20Preview%20version)%20supports%20anonymous%20access.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnonymous%20access%20worked%20fine%20in%20a%20classic%20site%20in%20SharePoint%202019%2C%20but%20adding%20a%20web%20part%20(simple%20Hello%20World%20spfx)%20or%20enabling%20a%20Communication%20Site%20with%20anonymous%20access%20is%20simply%20not%20working%20at%20all.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20error%20is%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3Ehttps%3A%2F%2Fxxxxxxx%2F_layouts%2F15%2Ferror.aspx%3FErrorCorrelationId%3D6913979e-07f3-1023-8c69-296d439e5e97%26amp%3BErrorText%3DCan't%2520load%2520the%2520application%2520on%2520this%2520page.%2520Use%2520the%2520browser%2520Back%2520button%2520to%2520retry.%2520If%2520the%2520problem%2520persists%252C%2520contact%2520the%2520administrator%2520of%2520the%2520site%2520and%2520give%2520them%2520the%2520information%2520in%2520Technical%2520Details.%26amp%3BErrorDetails%3DError%253A%2520***Error%2520initializing%2520application.%2520Error%253A%2520Error%253A%2520***Error%2520initializing%2520application.%2520Error%253A%2520TypeError%253A%2520Unable%2520to%2520get%2520property%2520'Id'%2520of%2520undefined%2520or%2520null%2520reference%26amp%3BErrorCategory%3Dspfx%26amp%3BWorkload%3DSPPages%26amp%3BName%3DSpfxLoad%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20onprem%2C%20not%20online%20at%20all.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20someone%20tried%20to%20get%20work%20this%20scenario%20with%26nbsp%3B%20SharePoint%202016%20FP2%20or%20SharePoint%202019%20combining%20SPFx%20web%20parts%20and%20anonymous%20access%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers!%3C%2FP%3E%3CP%3EJavier.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-270119%22%20slang%3D%22en-US%22%3ERe%3A%20Public%20facing%20website%20and%20SPFx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-270119%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20looks%20like%20SharePoint%202019%20with%20use%201.4.1%20with%20RTM%20as%20well.%20Newer%20versions%20will%20be%20supported%20as%20they%20are%20released%20but%20out%20of%20the%20box%20it%20will%20be%201.4.1.%26nbsp%3B%20With%20that%20said%2C%20we%20have%20not%20released%20RTM%20yet%20so%20things%20can%20still%20change.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269871%22%20slang%3D%22en-US%22%3ERe%3A%20Public%20facing%20website%20and%20SPFx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269871%22%20slang%3D%22en-US%22%3E%3CP%3EOh!%20That%20sounds%20great!%20Thanks%20for%20the%20answer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20know%20if%20the%20RTM%20version%20will%20have%20a%20newer%20version%20of%20SPFx%20or%20it%20will%20still%20have%20the%201.4.1%20version%20as%20the%20SP2019%20Preview%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers.%3C%2FP%3E%3CP%3EJavier.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269524%22%20slang%3D%22en-US%22%3ERe%3A%20Public%20facing%20website%20and%20SPFx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269524%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20a%20known%20issue%20in%20the%20public%20preview%20release%20and%20will%20be%20fixed%20in%20RTM.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EMike%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-984158%22%20slang%3D%22en-US%22%3ERe%3A%20Public%20facing%20website%20and%20SPFx%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-984158%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1497%22%20target%3D%22_blank%22%3E%40Javier%20Ibarra%3C%2FA%3E%26nbsp%3B%20Is%20it%20continuing%20to%20have%20the%20feature%20which%20could%20allow%20to%20create%20a%20public%20website%20or%20view%20pages%20accessible%20by%20anonymous%20users%26nbsp%3B%20in%20Sharepoint%202019%20on-%20premise%3F%20I%20created%20some%20modern%20pages%20and%20configured%20them%20to%20be%20accessible%20by%20anonymous%20users%20but%20it%20frequently%20prompt%20pop-up%20login%20windows.%26nbsp%3B%20It%20looked%20like%20online%20sharepoint%20discontinued%20this%20feature%20but%20not%20sure%20how%20about%20sharepoint%202019%20on-premise%3F%20(%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fsupport%2Fsites%2Fpublic-websites-be-discontinued%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fsupport%2Fsites%2Fpublic-websites-be-discontinued)%20.%26nbsp%3B%3C%2FA%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi Everyone.

 

I just wonder if someone knows if the SPFx that ships with SharePoint 2019 (1.4.1 in the Preview version) supports anonymous access.

 

Anonymous access worked fine in a classic site in SharePoint 2019, but adding a web part (simple Hello World spfx) or enabling a Communication Site with anonymous access is simply not working at all.

 

The error is:

 

https://xxxxxxx/_layouts/15/error.aspx?ErrorCorrelationId=6913979e-07f3-1023-8c69-296d439e5e97&ErrorText=Can't%20load%20the%20application%20on%20this%20page.%20Use%20the%20browser%20Back%20button%20to%20retry.%20If%20the%20problem%20persists%2C%20contact%20the%20administrator%20of%20the%20site%20and%20give%20them%20the%20information%20in%20Technical%20Details.&ErrorDetails=Error%3A%20***Error%20initializing%20application.%20Error%3A%20Error%3A%20***Error%20initializing%20application.%20Error%3A%20TypeError%3A%20Unable%20to%20get%20property%20'Id'%20of%20undefined%20or%20null%20reference&ErrorCategory=spfx&Workload=SPPages&Name=SpfxLoad

 

This is onprem, not online at all. 

 

So, someone tried to get work this scenario with  SharePoint 2016 FP2 or SharePoint 2019 combining SPFx web parts and anonymous access?

 

Cheers!

Javier.

4 Replies
best response confirmed by Javier Ibarra (New Contributor)
Solution

Hello,

 

This is a known issue in the public preview release and will be fixed in RTM.

 

Regards,

Mike

Oh! That sounds great! Thanks for the answer.

 

Did you know if the RTM version will have a newer version of SPFx or it will still have the 1.4.1 version as the SP2019 Preview?

 

Thanks a lot!

 

Cheers.

Javier.

It looks like SharePoint 2019 with use 1.4.1 with RTM as well. Newer versions will be supported as they are released but out of the box it will be 1.4.1.  With that said, we have not released RTM yet so things can still change. :)

@Javier Ibarra  Is it continuing to have the feature which could allow to create a public website or view pages accessible by anonymous users  in Sharepoint 2019 on- premise? I created some modern pages and configured them to be accessible by anonymous users but it frequently prompt pop-up login windows.  It looked like online sharepoint discontinued this feature but not sure how about sharepoint 2019 on-premise? ( https://docs.microsoft.com/en-us/sharepoint/support/sites/public-websites-be-discontinued) . Thanks.