Forum Discussion
Robert Bollinger
Mar 20, 2019Iron Contributor
Exchange Online: Remove Calendar Permissions for a list of users from 1 mailbox
Hey Guys, I am trying to remove calendar permissions for a list of users from a single mailbox. For Example this mailbox here: "Customer Mailbox" has 40 users added to various folders with revie...
Chochi
Jun 07, 2019Copper Contributor
Will that also blow away any delegate permissions, where users can accept or decline on behalf of the calendar?
Get-MailboxFolderPermission -Identity "Customer Mailbox" | Where {$_.User -notlike "*Default*" -and $_.User -notlike "*Anonymous*" -and $_.User -notlike "*Group Access*"} | foreach {Remove-MailboxFolderPermission -Identity "Customer Mailbox" -User $_}