How to Hide SharePoint Views Used in Web Parts
Question details
The user wants to know how to hide specific dashboard views from Microsoft Teams and SharePoint list view menus without breaking the connected web parts.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Managing view visibility in SharePoint and Microsoft Teams dashboards to streamline user experience.
- Observed behavior
- Currently, views used in web parts remain visible in the list view menus, and there is no built-in SharePoint Online option to hide them while keeping the web part fully functional.
Before attempting to modify view visibility, ensure you have Site Owner or Full Control permissions in SharePoint Online, as structural changes will affect how lists are displayed to all users.
Use Power Apps to Create Custom Views
Since SharePoint does not natively support hiding individual views, creating a custom Power App is the safest and most reliable alternative.
SharePoint Online does not provide a standard method to hide individual views while preserving connected web parts. To achieve the desired isolation, you can replace the list web part entirely with a custom Power App.
This approach allows you to control exactly what data is shown and embedded without exposing the underlying SharePoint list views to end-users.
Navigate to your SharePoint list, click on 'Integrate' in the top command bar, select 'Power Apps', and then click 'Create an app'.
Within the Power Apps studio, design your custom view. You can filter, sort, and format the data exactly as you want it to appear in your dashboard.
Once satisfied with the design, save and publish your custom Power App to make it available for your organization.
Go back to your SharePoint page, edit the page, add a 'Power Apps' web part, and enter the App web link or ID to embed the custom view.
To display this in Teams, navigate to your Teams channel, click the '+' icon to add a tab, select 'Power Apps', and choose the app you just created.

Modify View Visibility via PowerShell (Advanced)
Use PnP PowerShell to change the 'Hidden' property of a view, though this must be tested thoroughly to ensure web parts remain functional.
Boost Your Productivity with WPS Office
While managing complex SharePoint configurations requires specialized Microsoft tools, for your everyday document, spreadsheet, and presentation needs, WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office. Enjoy a familiar interface and seamless migration without the heavy subscription costs.

Frequently Asked Questions
Can I hide a SharePoint view from the dropdown menu but keep it as the default?
No, SharePoint Online requires at least one view to be visible and public. If a view is set as the default view for a list, it generally cannot be completely hidden from the view selector without causing rendering issues.
Will hiding a view in SharePoint break my Teams channel tab?
If you force-hide a view using PowerShell or developer tools, the Teams channel tab relying on that specific view may fail to load or display an error. Always test these structural changes in a staging environment first.
Is audience targeting an alternative to hiding views?
Audience targeting can hide navigation links and specific web parts from certain users, but it cannot hide a specific view from the list's view dropdown menu. Users with list access can still select and see the view.




