Hide SharePoint List from Search & Power Platform drop-downs

Once you are using SharePoint lists as a back-ends of your Power App, you should assign correct access levels to user groups and hide SharePoint List from Site Content and Search. To achieve that, apply this simple, manually triggered flow:

Site Address – choose your SharePoint site

Method: POST

Url: /_api/web/lists/getByTitle(‘yourlistname’)

Headers:

{
    "X-HTTP-Method": "MERGE",
    "Accept": "application/json;odata=verbose",
    "Content-Type": "application/json;odata=verbose",
    "IF-MATCH": "*",
    "": ""
}

Body:

{'__metadata':
     {'type':'SP.List'},
     'Hidden':true,
     'NoCrawl':true
}

That’s it. SharePoint list now is hidden. What is important to notice, all existing flows now are still running and assigned correctly to this list.



Leave a comment

About Me

As a power platform fan and developer of solutions that can help in daily tasks, I have a deep understanding of how technology can be leveraged to make everyday work more efficient and effective. With a passion for automation and optimization, I am always looking for new ways to streamline processes and save time. I have a strong knowledge of the power platform, including Power Apps, Power BI, and Power Automate, and I am skilled in creating custom solutions to solve specific business needs. My expertise and enthusiasm for the power platform make me an invaluable asset to any organization looking to enhance their productivity and streamline their workflows.

Newsletter

Design a site like this with WordPress.com
Get started