spo web reindex¶
Requests reindexing the specified subsite
spo web reindex [options]
||output usage information|
||URL of the subsite to reindex|
||Runs command with verbose logging|
||Runs command with debug logging|
Before using this command, log in to a SharePoint Online site, using the spo login command.
To request reindexing a subsite, you have to first log in to a SharePoint site using the spo login command, eg.
spo login https://contoso.sharepoint.com.
If the subsite to be reindexed is a no-script site, the command will request reindexing all lists from the subsite that haven't been excluded from the search index.
Request reindexing the subsite https://contoso.sharepoint.com/subsite
spo web reindex --webUrl https://contoso.sharepoint.com/subsite