Hi @Anonymous ,
I understand the SPFX Web Part is working for a few users but for some other users it's not working.
I suggest you could check if the some users is external users ? As SPFX Web Part will need to assign permission to "All Users(membership)":
- Open SharePoint Management Online Shell and run below command. It prompts for SharePoint Online tenant URL, enter URL (for example, https://yourtenant-admin.sharepoint.com) and then it prompts for credentials. Enter SharePoint Admin or Global Admin credentials to connect to your tenant. Connect-SPOService
- Once the connection is done, run below command Set-SPOTenant -ShowAllUsersClaim $true
- Now, SharePoint allows resolving a new group named “All Users (membership)”. Grant “Read” permissions to this group on “Client Side Assets” library in App Catalog site as shown below (/sites/AppCatalogSite/ClientSideAssets/AllItems.aspx):
Thanks
Best Regards
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.