PowerShell: How to Allow Anonymous Users to Add Items to a SharePoint List

In this article, I’ll show you how to allow anonymous users to add items to a SharePoint list using PowerShell script. We have the following requirements for script:

  • Allow user to input Site URL and List Name
  • Check to see if the list has Unique permissions or not
  • If not, we will reset broken inheritance first and then set anonymous access to it
  • If yes, we will only set anonymous access on it

    When setting anonymous access to a list, we need to identify the following permissions:

    AddListItems, Open, OpenItems, ViewListItems, ViewVersions, ViewFormPages, ViewPages, UseClientIntegration, UseRemoteAPIs

    Contents of script:

    How does it work?

    Download AnonymousList.ps1 file to your server.

    Run PowerShell script and input URL site; List Name. Click Enter

    Go to your list URL with Anonymous Access to add new item.

     


    All SharePoint Versions

    The web parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft® Office 365.

    SharePoint 2013, 2016, 2019, Online (Office 365)

    On-Premises Only

    These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

    SharePoint 2013, 2016, 2019

    SharePoint

    Product Suites

    Experience greater power and savings by bundling our SharePoint apps and web parts.


    Essentials Suite


    Essentials Plus Suite


    Bamboo Premier Suite


    Project Management Suite


    Knowledge Management Suite


    External User Manager


     

    For more information on our product suites, contact us.

    Featured Services

    SharePoint Health Check

    A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

    SQL Health Check

    Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

    My SharePointXperts

    The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!