Hi Team,
Does anyone have sample PowerShell scripts to get the permissions of mailbox and then remove those permissions?
Thanks in advance
Hi Team,
Does anyone have sample PowerShell scripts to get the permissions of mailbox and then remove those permissions?
Thanks in advance
What is the use-case behind it? Did you know that OneIM 8.2.1 supports setting SendAs permissions for Exchange on-prem mailboxes and 9.0/9.1 supports it for Exchange Online?
we are using 8.2.1.Use case is to convert user mailbox - shared mailbox for 60 days post termination and then remove all delegated permissions after 60 days and then convert back mailbox to user
we are using 8.2.1.Use case is to convert user mailbox - shared mailbox for 60 days post termination and then remove all delegated permissions after 60 days and then convert back mailbox to user
Okay. Sounds like a special PowerShell script is better suited for the task. A quick google search gave me these commandlets and samples.
https://learn.microsoft.com/en-us/powershell/module/exchange/remove-recipientpermission?view=exchange-ps
https://morgantechspace.com/2019/11/remove-mailbox-permissions-using-powershell.html