Skip to main content

Posts

Showing posts from October, 2025

Get Search Crawl Log using PowerShell in SharePoint Online

At times, you may have to check the search crawl logs if search results don’t return results from specific content. Search crawl logs can be obtained from the search service application in the SharePoint on-premises environment. However, to inspect the search crawl log in SharePoint Online, you must use  Get-PnPSearchCrawlLog  cmdlet. Make sure you have access to the Crawl Log before you execute any of these PowerShell scripts! Login to SharePoint Online Admin Center  https://tenant-admin.sharepoint.com Click on “More Features” from the left navigation >> Click on the “Open” button under the Search. On the Search Service Application page, click on the “Crawl Log Permissions” link at the bottom >> Enter the user names whom you want to grant search crawl log permissions and click on “OK” to save your changes. Register an App in Entra ID (Azure AD) Step 1: Register an App in Entra ID (Azure AD) Go to: https://entra.microsoft.com Navigate to:  Home ...