This article describes a function of a custom SharePoint Online module available for download and installation here.



Restore-SPOListInheritance

Restores permission inheritance for a list. The list starts inheriting permissions from the site.


Parameters

ListName  Mandatory  Name of the list for which you want to change the permissions settings 
 


Examples

----- EXAMPLE 1 ------
Restore permissions for a list.
Restore-SPOListInheritance -ListName MyList7


----- EXAMPLE 2 ------
Restore permissions for all lists in a site.
foreach($titel in ((Get-SPOList).Title)){Restore-SPOListInheritance -ListName $titel}



See Also

SPOMod Cmdlets and Resources 
Connect-SPOCSOM
Remove-SPOListInheritance