Skip to content

spo web reindex

Requests reindexing the specified subsite


spo web reindex [options]


Option Description
--help output usage information
-u, --webUrl <webUrl> URL of the subsite to reindex
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug 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

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

spo web reindex --webUrl