Skip to content

spo web roleinheritance reset

Restores role inheritance of subsite.

Usage

m365 spo web roleinheritance reset [options]

Options

-u, --webUrl <webUrl>
URL of the site
-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Restore role inheritance of subsite https://contoso.sharepoint.com/sites/project-x

m365 spo web roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x