Chat with us, powered by LiveChat

Blog

Back

Get all Public Folder Permissions in Office 365

12 Sep 2013 by Emma Robinson

If you need to quickly list out all the permissions applied to all public folders in your Office 365 environment you can do so by running this cmdlet.
Get-PublicFolder -Recurse | Get-PublicFolderClientPermission | Select Identity, User, AccessRights

It will print out a list of each folder and the permissions assigned to them.

Read more Office 365 scripting workshop
PS C:\Users\burns_000\Desktop> Get-PublicFolder -Recurse | Get-PublicFolderClientPermission | Select Identity, User, AccessRights
Identity User AccessRights
-------- ---- ------------
\ Default {Author}
\ Anonymous {None}
\Cogmotive Public Folders Default {Author}
\Cogmotive Public Folders Anonymous {None}
\Cogmotive Public Folders MOD Administrator {Owner}
\Cogmotive Public Folders\Test Default {Author}
\Cogmotive Public Folders\Test Anonymous {None}
\Cogmotive Public Folders\Test MOD Administrator {Owner}
\Cogmotive Public Folders\Test All Staff Security Group {Reviewer}
PS C:\Users\burns_000\Desktop>

You can even export this information to a CSV file to create a simple Public Folder permissions report.
PS C:\Users\burns_000\Desktop> Get-PublicFolder -Recurse | Get-PublicFolderClientPermission | Select Identity, User, AccessRights | Export-CSV "PublicFolderPermissions.csv" -NoTypeInformation

Public Folder Permissions Report

Public Folder Permissions Report