How do I create a SharePoint list with global access permissions for all websites?

Add-in Developer 5 Reputation points
2024-07-19T09:34:57.66+00:00

I want to create a SharePoint list that can be used by all SharePoint websites. This list should be automatically accessible to newly created websites as well(when a new web site is created).

SharePoint list will be used in a SharePoint SPFx extension.

await sp.web.lists.getByTitle("GlobalConfig")

Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Xyza Xue_MSFT 30,241 Reputation points Microsoft External Staff
    2024-07-22T02:32:25.3633333+00:00

    Hi @Add-in Developer ,

    Thank you for posting in this community.

    Ensure that the list has the appropriate permissions set so that all users can access it(can be used by all SharePoint websites). You can use the “Everyone except external users” group to grant read or edit permissions.

    Here are steps:

    1.Enable Everyone group in site level, Setting->Site information->Public - anyone in the organization can access this site.

    User's image

    2.List settings->Permissions for this List> Stop Inheriting Permissions> Grant Permissions> Enter the Everyone Except External Users group and select it> Show options> Select Edit/Read as permission level> Share.



    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.