SOLVED

Web parts error message for guest users

%3CLINGO-SUB%20id%3D%22lingo-sub-2271346%22%20slang%3D%22en-US%22%3EWeb%20parts%20error%20message%20for%20guest%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2271346%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%20I'm%20currently%20having%20some%20issues%20with%20SharePoint%20site%20web%20parts%20for%20guest%20users.%20Below%20is%20the%20description%20of%20the%20problem%2C%20and%20I'm%20attaching%20a%20screenshot%20as%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EContext%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EA%20modern%20SharePoint%20Team%20Site%20has%20been%20created%20with%20several%20pages%20and%20web%20parts%20in%20them%20(i.e.%3A%20Hero%2C%20News%2C%20Quick%20Links%2C%20Link%2C%20People%2C%20Forms%2C%20etc).%20The%20site's%20main%20purpose%20is%20to%20allow%20external%20users%20to%20navigate%20through%20it.%20The%20users%20are%20added%20as%20guests%20in%20Office%20365%20tenant%20and%20added%20into%20an%20Office%20365%20group%20which%20has%20Contribute%20access%20to%20the%20SharePoint%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EProblem%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWhen%20I%20access%20as%20a%20guest%20user%20and%20navigate%20through%20the%20SharePoint%20site%2C%20most%20of%20the%20web%20parts%20in%20the%20pages%20show%20an%20error%20message%20instead%20of%20showing%20the%20web%20part%20content.%20This%20is%20temporarily%20fixed%20if%20I%20refresh%20the%20page%2C%20but%20the%20error%20keeps%20coming%20back%20randomly%20across%20the%20whole%20site%20where%20ever%20there's%20a%20web%20part.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELooking%20forward%20to%20hearing%20some%20comments%20or%20if%20someone%20has%20seen%20this%20before.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EMario%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2271346%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2271830%22%20slang%3D%22en-US%22%3ERe%3A%20Web%20parts%20error%20message%20for%20guest%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2271830%22%20slang%3D%22en-US%22%3EWow%2C%3CBR%20%2F%3EI'm%20not%20aware%20of%20any%20requirements%20those%20WebParts%20might%20have%20in%20regards%20of%20Guests%20users...unfortunately%20we%20cannot%20provide%20much%20help%20with%20the%20issue%20you%20are%20having%20here.%20It's%20clear%20to%20me%20the%20WebParts%20should%20work%20for%20Guests%20users%20with%20no%20problems%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2273380%22%20slang%3D%22en-US%22%3ERe%3A%20Web%20parts%20error%20message%20for%20guest%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2273380%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3BHi%20Juan%20Carlos%2C%20thanks%20heaps%20for%20your%20response.%20I%20totally%20agree%2C%20specially%20if%20the%20site%20was%20built%20with%20100%25%20OOTB%20components.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20someone%20has%20any%20idea%20of%20why%20is%20this%20caused.%20In%20parallel%20I%20raised%20a%20ticket%20with%20MS%20to%20see%20if%20they%20can%20provide%20some%20feedback%20about%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20meantime%26nbsp%3BI'll%20replicate%20the%20site%20in%20another%20O365%20tenant%20and%20see%20if%20the%20error%20happens%20there%20too.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EMario%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2281605%22%20slang%3D%22en-US%22%3ERe%3A%20Web%20parts%20error%20message%20for%20guest%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2281605%22%20slang%3D%22en-US%22%3EWe%20have%20the%20same%20error%20messages%20on%20our%20tenant.%20They%20only%20appear%20for%20guest%20users%2C%20especially%20with%20planner-webpart%20and%20activity-webpart.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2300266%22%20slang%3D%22en-US%22%3ERe%3A%20Web%20parts%20error%20message%20for%20guest%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2300266%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EUpdate%3C%2FSTRONG%3E%3A%20The%20issue%20is%20still%20happening%20for%20all%20guest%20users%20in%20any%20browser.%20I've%20contacted%20a%20MS%20agent%20and%20I'll%20meet%20briefly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20replicated%20the%20whole%20Sharepoint%20site%20in%20a%20different%20tenant%20and%20the%20issue%20with%20the%20webparts%20doesn't%20occur%20for%20guest%20users.%20The%20only%20difference%20between%20one%20site%20and%20the%20other%20is%20that%20the%20one%20with%20the%20bug%20is%20with%20E3%20license%20and%20the%20one%20without%20the%20bug%20is%20under%20Business%20Standard%20license.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'll%20update%20the%20post%20after%20my%20meeting%20with%20MS.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3EMario%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2362716%22%20slang%3D%22en-US%22%3ERe%3A%20Web%20parts%20error%20message%20for%20guest%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2362716%22%20slang%3D%22en-US%22%3EUpdate%3A%3CBR%20%2F%3EAfter%20my%20case%20was%20escalated%20to%20the%20SharePoint%20tech%20team%20in%20Microsoft%2C%20they%20discovered%20that%20there%20was%20a%20customised%20script%20added%20at%20the%20tenant%20level%2C%20stored%20in%20a%20sharepoint%20site%20called%20CDN.%20This%20site%20was%20created%20to%20store%20the%20script%20files%20after%20activating%20Office%20365%20CDN%20for%20the%20whole%20tenant%20and%20that%20way%20implement%20the%20Tenant%20Wide%20Deployment%20option%20for%20SharePoint%20Framework%20(SPFx)%20Extensions%2C%20which%20allows%20the%20use%20of%20the%20scripts.%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20some%20reason%20the%20above%20is%20messing%20with%20the%20way%20guest%20users%20see%20web-parts%20and%20generating%20the%20bug.%3CBR%20%2F%3EThe%20possible%20solutions%20Microsoft%20presented%20are%20two%3A%3CBR%20%2F%3E1.%20Remove%20the%20customised%20script%20(after%20assessing%20the%20impact%20that%20this%20removal%20may%20have%20in%20other%20sites%20in%20the%20tenant)%3CBR%20%2F%3E2.%20Grant%20read-only%20access%20to%20the%20guest%20users%20to%20the%20CDN%20sharepoint%20site%20where%20the%20scripts%20are%20stored%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20our%20case%2C%20because%20we%20still%20need%20the%20scripts%20as%20they%20are%20part%20of%20a%20previous%20implementation%20that%20is%20currently%20being%20used%2C%20we%20decided%20to%20go%20with%20option%202.%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20tested%20adding%20a%20guest%20user%20to%20a%20group%20with%20read-only%20access%20to%20the%20CDN%20site%20where%20the%20scripts%20are%2C%20and%20now%20the%20guest%20user%20doesn't%20experience%20the%20bugs%20anymore.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20the%20above%20helps%2C%20and%20if%20you%20have%20any%20questions%20just%20flick%20me%20a%20reply.%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%3CBR%20%2F%3EMario%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2837756%22%20slang%3D%22en-US%22%3ERe%3A%20Web%20parts%20error%20message%20for%20guest%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2837756%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F804600%22%20target%3D%22_blank%22%3E%40marioalcalde%3C%2FA%3E%3CBR%20%2F%3EI%20have%20what%20seems%20to%20be%20this%20exact%20same%20issue.%20Could%20you%20please%20let%20me%20know%20where%20you%20found%20the%20CDN%20site%3F%20Or%20would%20this%20be%20different%20from%20tenant%20to%20tenant%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20in%20advance!%3C%2FLINGO-BODY%3E
New Contributor

Hi everyone, I'm currently having some issues with SharePoint site web parts for guest users. Below is the description of the problem, and I'm attaching a screenshot as well.

 

Context

A modern SharePoint Team Site has been created with several pages and web parts in them (i.e.: Hero, News, Quick Links, Link, People, Forms, etc). The site's main purpose is to allow external users to navigate through it. The users are added as guests in Office 365 tenant and added into an Office 365 group which has Contribute access to the SharePoint site.

 

Problem

When I access as a guest user and navigate through the SharePoint site, most of the web parts in the pages show an error message instead of showing the web part content. This is temporarily fixed if I refresh the page, but the error keeps coming back randomly across the whole site where ever there's a web part.

 

Looking forward to hearing some comments or if someone has seen this before.

 

Best regards,

Mario

6 Replies
Wow,
I'm not aware of any requirements those WebParts might have in regards of Guests users...unfortunately we cannot provide much help with the issue you are having here. It's clear to me the WebParts should work for Guests users with no problems

@Juan Carlos González Martín Hi Juan Carlos, thanks heaps for your response. I totally agree, specially if the site was built with 100% OOTB components.

 

I hope someone has any idea of why is this caused. In parallel I raised a ticket with MS to see if they can provide some feedback about it.

 

In the meantime I'll replicate the site in another O365 tenant and see if the error happens there too.

 

Best regards,

Mario

We have the same error messages on our tenant. They only appear for guest users, especially with planner-webpart and activity-webpart.

Update: The issue is still happening for all guest users in any browser. I've contacted a MS agent and I'll meet briefly.

 

I've replicated the whole Sharepoint site in a different tenant and the issue with the webparts doesn't occur for guest users. The only difference between one site and the other is that the one with the bug is with E3 license and the one without the bug is under Business Standard license.

 

I'll update the post after my meeting with MS.

 

Cheers,

Mario

best response confirmed by marioalcalde (New Contributor)
Solution
Update:
After my case was escalated to the SharePoint tech team in Microsoft, they discovered that there was a customised script added at the tenant level, stored in a sharepoint site called CDN. This site was created to store the script files after activating Office 365 CDN for the whole tenant and that way implement the Tenant Wide Deployment option for SharePoint Framework (SPFx) Extensions, which allows the use of the scripts.

For some reason the above is messing with the way guest users see web-parts and generating the bug.
The possible solutions Microsoft presented are two:
1. Remove the customised script (after assessing the impact that this removal may have in other sites in the tenant)
2. Grant read-only access to the guest users to the CDN sharepoint site where the scripts are stored

In our case, because we still need the scripts as they are part of a previous implementation that is currently being used, we decided to go with option 2.

I've tested adding a guest user to a group with read-only access to the CDN site where the scripts are, and now the guest user doesn't experience the bugs anymore.

Hope the above helps, and if you have any questions just flick me a reply.

Regards,
Mario
Hi @marioalcalde
I have what seems to be this exact same issue. Could you please let me know where you found the CDN site? Or would this be different from tenant to tenant?

Thanks in advance!