SPFx Failed to load component for guest users
SharePoint guide: SPFx Failed to load component for guest users
SharePoint guide: SPFx Failed to load component for guest users
If you’ve ever developed a custom Web Part for SharePoint, and “Failed to load components” message occures for guest users, here you can find possibile solution to fix it.
I develop a SPO Webpart…it run correctly but when my customer share site with guest user, it give us and error:
Something like this:
[SPLoaderError.loadComponentError]: ***Failed to load component "12345-c123-a1be27-223a-xxxx0" (MyWebpart Name).
A possible problem is guest users can’t acess to ClientSideAssets library on AppCatalog site, so one way is:
If don’t work, you can try also to restore inherits permission and put guest users inside readers group of app catalog site. In this case, guest can Access to all site resources as reader, but if it work you can continue investigate on problem.
Have a nice day