Apr 13 2021 06:57 PM
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
Apr 14 2021 12:51 AM
Apr 14 2021 03:34 PM
@jcgonzalezmartin 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
Apr 22 2021 08:19 AM
Apr 27 2021 07:12 PM
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
May 17 2021 04:52 PM
SolutionOct 12 2021 05:42 AM
Aug 12 2024 12:28 PM
@marioalcalde I can replicate this issue. I am applying site scripts during the site creation process (done via Graph API), and for some reason this causes my custom web parts to fail to load for guest users.
The guest users have 'read only' permissions set within SharePoint itself, but this doesn't appear to rectify the problem.
Sites that do not have a site script load the web part fine.
3 years on, do we have a fix for this?
May 17 2021 04:52 PM
Solution