Connect to Exchange Online PowerShell
$Cred = Get-Credential
Connect-MSOLService -Credential $Cred
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $Cred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Add Permissions and Verify Success
In PowerShell, run:
Get-PublicFolder -Identity “\Folder Name” -Recurse | Add-PublicFolderClientPermission -User jsmith -AccessRights Owner
Verify the change was successful:
Get-PublicFolder -Identity “\Folder Name” -Recurse | Get-PublicFolderClientPermission | Where-Object { $PSItem.User -like “SMITH*” }
Use the customer’s name in the Where-Object cmdlet. All of our accounts are named in a “LASTNAME, FIRSTNAME” format, and the command reflects that. This command will print all of the customer’s rights through the tree.