Usage
m365 spo folder roleinheritance reset [options]
Description
Restores the role inheritance of folder
Options
| Option |
Description |
-u, --webUrl <webUrl> |
URL of the site where the file for which to reset role inheritance is located |
-f, --folderUrl <folderUrl> |
The site-relative URL of the folder |
--confirm |
Don't prompt for confirmation |
Examples
Reset inheritance of folder with site-relative url /Shared Documents located in site https://contoso.sharepoint.com/sites/project-x
m365 spo folder roleinheritance reset --webUrl "https://contoso.sharepoint.com/sites/project-x" --folderUrl "/Shared Documents"
Additional Info
we may also reuse command we already have using Cli.executeCommandWithOutput. We may reuse the m365 spo folder get command and the m365 spo listitem roleinheritance reset.
Usage
m365 spo folder roleinheritance reset [options]
Description
Restores the role inheritance of folder
Options
-u, --webUrl <webUrl>-f, --folderUrl <folderUrl>--confirmExamples
Reset inheritance of folder with site-relative url /Shared Documents located in site https://contoso.sharepoint.com/sites/project-x
Additional Info
we may also reuse command we already have using
Cli.executeCommandWithOutput. We may reuse them365 spo folder getcommand and them365 spo listitem roleinheritance reset.