Posts

PnP-PowerShell script to get SharePoint online list items permissions report including Inherited permissions and Unique Permissions using Graph API app permissions for all site collections in the tenant level

This PnP-PowerShell script to get SharePoint online list items permissions report including inherited permissions and unique permissions using Graph API app permissions for all site collections in the tenant level. This script includes exception handling also. Required Azure AD App permissions (Application + Admin Consent) Permission Source Sites.FullControl.All      Microsoft Graph Files.Read.All      Microsoft Graph User.Read.All      Microsoft Graph GroupMember.Read.All      Microsoft Graph Sites.FullControl.All      SharePoint   # Full tenant scan with all options .\Get-TenantWideListItemPermissionsReport.ps1 `   -TenantId     "contoso.onmicrosoft.com" `   -ClientId     "your-app-client-id" `   -ClientSecret "your-secret" `   -TenantName   "contoso" `   -SkipSystemLists `   -ExpandGroupMembers `   -IncludeListLevelPermissions ` ...