We are a team of tech enthusiast and this section is where we love to share our experience and our knowledge. We try our best to help you understand technical topics by giving you live instances of how-to’s, guides, tips, FAQ’s and troubleshoots.
If you like it or have questions, do share your feedback in the comments section below.
In this blog post, we’ll see how we can hide any SharePoint list or libraries using Power Automate.
Why should we hide list or library?
Sometimes when we build any solution that is going to use by some automations, and we don’t want anyone from the organization to remove unintentionally. Even if we restrict user permission to read only, this can cause confusion to end users.
We can perform the same action with PowerShell or SharePoint Designer. But it’s not possible all the time to install and use the app. Also, SharePoint designer will be discontinued in near future.
To hide any list from flow, we will call SharePoint Rest API with some parameters from Power Automate.
Create a blank flow and choose manual trigger –
2. In the next step we will define following parameters –
Site Address: A text field to enter site URL.
Hide: A Yes/No filed to toggle hide/unhide while trigger.
Site or Library Name: A text field to enter list or library name.
3. In the next step we’ll add the SharePoint HTTP Request action.
In this action –
Site Address: the dynamic content of Site Address from the trigger.