Forum Discussion
Mani333
Oct 18, 2024Copper Contributor
Remove-Mailbox '1293f525-fbb5-45fd-8323-57902d7a2e46' -PermanentlyDelete,
Hello Every one, When i try to run the command Remove-Mailbox '1293f525-fbb5-45fd-8323-57902d7a2e46' -PermanentlyDelete, I'm getting the below error can someone suggest me how to remove the holds. ...
Mani333
Oct 19, 2024Copper Contributor
Thanks for your reply
I tried this command
Set-Mailbox -Identity softdeleteguid -ExcludeFromAllOrgHolds
But still getting the same error.
Could you suggest me the command.
VasilMichev
Oct 20, 2024MVP
It's not an org-wide retention policy. Open the Purview portal, go to Data governance > Retention and locate the policies therein.
- Mani333Oct 20, 2024Copper Contributor
VasilMichev I checked for Retention policies and found these Default one applied to all mailboxes in our org
- Mani333Oct 21, 2024Copper Contributor
How to exclude this mailbox from Retention policy using PowerShell.
As this mailbox is in soft deleted stage and we re enabled that user account recently where we struck with the sync issue.