I'm trying to figure out how to use Get-MailboxFolderPermission for an Office365 group when connnected via powershell.
If I run:
Get-MailboxFolderStatistics -Identity groupname | ft Name, Identity, folderpath, foldertype
I see (among others) a folder named Calendar with identity groupname\Calendar, path /Calendar, and type Calendar.
When I try to view this calendar via:
Get-MailboxFolderPermission -Identity groupname:\calendar
it tells me the specified mailbox "groupname" doesn't exist.
I've also tried specifying the identity as domain\groupname:\calendar and as groupname@domain:\calendar. I imagine I have to specify the identity differently but all three formats work fine with usernames and Get-MailboxFolderPermission. Get-MailboxFolderStatistics accepts both user and group names in all three formats.
How do I use Get-MailboxFolderPermissions to view the calendar that Get-MailboxStatistics says exists?