Jan 24 2021
My requirement is to export the modern search results. As there is no OOTB way to export the modern search results on the site, I am trying to create a PowerShell script to export the search results.
I used Submit-PnPSearchQuery, $KeywordQuery and Search api. All 3 are returning different results than what it appears on the SharePoint Site. Below is the Search api query.
Is there a way I can export the modern search results exactly what it appears on the SharePoint site using PowerShell?