segunda-feira, 1 de junho de 2020

Old e-mails are not being moved to archive by Retention Policy in Office 365

Problem
============================
    - Mailbox "user@domain.com" is full and retention policy is not moving old items to archive.


Troubleshooting
===========================
    - Checked the retention policy and it has only one tag, that moves items older than 1 year to archive and it´s type is "Default". So everything is ok with Retention Policy.
    - Command "Get-Mailbox "user@domain.com" | FL *RetentionHoldEnabled*" releved that Retention Hold was enabled.


“Retention Hold” prevents the “Retention Policy” to run.


Solution
===========================
    - Disabled Retention Hold and started Retention Policy engine to run the Retention Policy. As follows:

PS C:\> Get-Mailbox "user@domain.com" | FL *RetentionHoldEnabled*

RetentionHoldEnabled : True

PS C:\> Set-Mailbox "user@domain.com" -RetentionHoldEnabled $false
PS C:\> Get-Mailbox "user@domain.com" | FL *RetentionHoldEnabled*

RetentionHoldEnabled : False

PS C:\> Start-ManagedFolderAssistant -Identity "user@domain.com"
PS C:\>


Documentation
=================================
Retention hold
https://docs.microsoft.com/en-us/exchange/security-and-compliance/messaging-records-management/retention-tags-and-policies#retention-hold

Nenhum comentário:

Postar um comentário