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")

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,792 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,026 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Xyza Xue_MSFT 25,381 Reputation points Microsoft Vendor
    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 Answers by the question author, which helps users to know the answer solved the author's problem.