I would like to sort the results of Get-MailboxFolderPermission by the User property on Exchange Online PowerShell but it has not been working.
Results Screenshot
The PowerShell command I have tried:
Get-MailboxFolderPermission -Identity '[email protected]:Calendar' | Sort-Object -Property User
The User property is of type Deserialized.Microsoft.Exchange.Management.StoreTasks.MailboxFolderUserId
and the actual name is in the User.DisplayName property, so I tried to sort by User.DisplayName but it did not work either.
Get-MailboxFolderPermission -Identity '[email protected]:Calendar' | Sort-Object -Property User.DisplayName
a5yyc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.