Aug 21 2020 05:23 PM
I have hundreds of sites each having a specific document library with custom views.
I would like to query the sites, identify the ones where the view is not correctly configured and fix.
e.g. View is sorted on the wrong field.
Any hints on how to achieve this via script? pnp?
Aug 25 2020 12:27 AM
Solution@Gilbert Okello I have not done this myself but you might try Get-SPOSite to get all the sites and then run this script to get all these views and their properties.
Regards, Magnus
Aug 26 2020 10:50 AM
Aug 25 2020 12:27 AM
Solution@Gilbert Okello I have not done this myself but you might try Get-SPOSite to get all the sites and then run this script to get all these views and their properties.
Regards, Magnus