Sự kiện
Hội nghị cộng đồng Microsoft 365
14 giờ 6 thg 5 - 00 giờ 9 thg 5
Nâng cao kỹ năng cho kỷ nguyên AI tại sự kiện Microsoft 365 cuối cùng do cộng đồng dẫn dắt, từ ngày 6-8 tháng 5 tại Las Vegas.
Tìm hiểu thêmTrình duyệt này không còn được hỗ trợ nữa.
Hãy nâng cấp lên Microsoft Edge để tận dụng các tính năng mới nhất, bản cập nhật bảo mật và hỗ trợ kỹ thuật.
This article explores some common issues that prevent messaging records management (MRM) from correctly deleting or archiving email messages in Exchange Online. It also provides steps to identify the root cause and resolve the issues.
Lưu ý
Start-ManagedFolderAssistant <mailbox ID>
cmdlet.There are several reasons why MRM might not process a mailbox as expected. For example:
Use the Get-Mailbox cmdlet to retrieve the RetentionHoldEnabled property of the mailbox. If the property is set to True, set it to False.
Use the Get-Mailbox cmdlet to retrieve the ElcProcessingDisabled property of the mailbox. If the property is set to True, set it to False. For more information about this property, see Difference between ElcProcessingDisabled and RetentionHoldEnabled.
Use the Get-RetentionPolicyTag, Get-RetentionPolicy and Get-Mailbox cmdlets to check retention policies and tags that are assigned to the affected mailbox.
Here are some examples:
To retrieve all retention policies on your Exchange Online tenant, run the following cmdlet:
Get-RetentionPolicy
To check which policy tags are added to the MRM policy that's assigned to the mailbox, run the following cmdlet:
Get-RetentionPolicy -Identity <Name of the retention policy assigned to the mailbox> | select -ExpandProperty RetentionPolicyTagLinks
To retrieve the RetentionHoldEnabled property of the mailbox and the assigned retention policy, run the following cmdlet:
Get-Mailbox <MailboxID> | fl *Retention*
To check which personal retention tags the user has opted into in addition to those that are already included in the assigned retention policy, run the following cmdlet:
Get-RetentionPolicyTag -Mailbox <MailboxID> -OptionalInMailbox
To review the details of a particular retention policy tag, run the following cmdlet:
Get-RetentionPolicyTag <Name of the tag> | fl
Pay attention to retention tags that are disabled or that have the actions set to never move to archive or never delete. The duration that's assigned to a tag is a key factor in determining its priority. Therefore, check for tags that have the longest time duration, such as never move to archive or never delete, because these tags take precedence over other tags that are applied.
Lưu ý
The default archive policy tag that applies to the whole mailbox also applies to Calendar, Tasks, and Notes. You can't apply a personal archive tag that has the never move to archive action to these folders. Exception: You can apply tags to Notes by using Outlook on the web. For more information, see Default folders that support Retention Policy Tags.
Check whether a Default Archive or Default Retention policy tag is applied to the mailbox. If it is, make sure that:
-FullCrawl
switch for the affected mailbox. Doing this regenerates the IPM.Configuration.MRM hidden message and updates the PR_ROAMING_XMLSTREAM to have the new policy tag.You can use MFCMAPI to check the PR_ROAMING_XMLSTREAM property by following these steps:
You can also use MFCMAPI to check whether personal archive or retention tags are correctly applied to folders. To do this, use similar steps that are mentioned above, select the affected folder, and check its properties for archive tags or retention tags. You can do this for individual email messages, too.
If you're dealing with a Default Archive policy that applies to the entire mailbox, you won't see any archive policy properties, such as:
These properties are visible only if a personal archive tag, default folder retention tag, or personal retention tag is applied.
To gather information about the oldest items and policies that are applied, run the following commands:
For the primary mailbox:
Get-MailboxFolderStatistics -Identity <primary mailbox ID> -IncludeOldestAndNewestItems | Export-CSV -NoTypeInformation -Path .\primaryfolderstats.csv
For the archive mailbox:
Get-MailboxFolderStatistics -Identity <primary mailbox ID> -Archive -IncludeOldestAndNewestItems | Export-CSV -NoTypeInformation -Path .\archivefolderstats.csv
In the command output, look for the item that has the earliest received date in any given folder. Use the following guidance:
Check the OldestItemReceivedDate of all folders that are located under Top of Information Store, including Inbox, Sent Items, Junk Email, and any of their user-created subfolders. Exclude Deleted Items, Contacts, Calendar (recurring meetings only), and Tasks (recurring tasks only). Then, compare the OldestItemReceivedDate value to the Retention Age value that's specified in the non-working policy.
Lưu ý
For items that are in the Recoverable Items folder, check the OldestItemLastModifiedDate instead, and compare it to the RetainDeletedItemsFor property that's set on the affected mailbox.
In the output, also check which policies are applied to the folders, and determine whether any disabled personal tags, active personal tags, or even retention compliance policies override the expected policy. Review the following columns:
These columns indicate whether a default folder retention tag, a personal retention tag, or a personal archive tag is applied to the folders. The RetentionFlags column can also show:
Lưu ý
Policies that are applied to folders in the archive mailbox are usually inherited from the folders in the primary mailbox. However, users can apply a different personal tag to a folder within the archive mailbox. For more information, see Apply a retention tag to a folder in the archive.
To collect the MRM diagnostic log, run the following PowerShell command:
Export-MailboxDiagnosticLogs <mailboxID> -ComponentName MRM
Review the log to determine whether any errors occurred when the MFA processed the mailbox. Check the date of the last error to determine its relevance to the current issue.
Lưu ý
If the log contains "resource unhealthy" error messages, this means that the mailbox processing is throttled. Because of the size of the mailbox and the number of items that it contains, MRM is processing the mailbox very slowly. Unfortunately, throttling is unavoidable when you work with large mailboxes.
If you don't see any logs, and you receive an error message that says "no logs were found", this means that MRM processed the mailbox without any errors.
You should also check the following additional properties that can indicate whether MFA processed the contents of the mailbox:
To retrieve these properties, run the following PowerShell commands. These commands parse the XML and return the Email Life Cycle-related properties that begin with "Elc".
$logProps = Export-MailboxDiagnosticLogs <mailboxID> -ExtendedProperties
$xmlprops = [xml]($logProps.MailboxLog)
$xmlprops.Properties.MailboxTable.Property | ? {$_.Name -like "ELC*"}
If you still can't resolve the issue, contact Microsoft Support.
We recommend that you enable the archive mailbox for an account immediately after it's placed on Litigation Hold. This is especially true if the user has a lot of email traffic. Doing this can help prevent the Recoverable Items folder from becoming full and will let users continue to be able to further delete items from their primary mailbox. Additionally, we recommend that you enable auto-expanding archiving, depending on the user's Microsoft 365 license.
Notice that the Recoverable Items folder of the primary mailbox shouldn't be at the maximum quota because it can also prevent MRM from moving items into the archive. For more information about mailbox folder limits and mailbox storage limits, see Exchange Online limits.
Sự kiện
Hội nghị cộng đồng Microsoft 365
14 giờ 6 thg 5 - 00 giờ 9 thg 5
Nâng cao kỹ năng cho kỷ nguyên AI tại sự kiện Microsoft 365 cuối cùng do cộng đồng dẫn dắt, từ ngày 6-8 tháng 5 tại Las Vegas.
Tìm hiểu thêmĐào tạo
Mô-đun
Explore archiving and records management in Microsoft 365 - Training
This module examines how Microsoft 365 supports data governance by enabling organizations to archive content by using archive mailboxes, and manage their high-value content for legal, business, or regulatory obligations by implementing records management. MS-102
Chứng chỉ
Được Microsoft chứng nhận: Liên kết Người quản trị Bảo vệ Thông tin và Tuân thủ - Certifications
Minh họa các nguyên tắc cơ bản về bảo mật dữ liệu, quản lý vòng đời, bảo mật thông tin và tuân thủ để bảo vệ triển khai Microsoft 365.
Tài liệu
Place a mailbox on retention hold in Exchange Online
Placing a mailbox on retention hold suspends the processing of a retention policy or managed folder mailbox policy for that mailbox. Retention hold is designed for situations such as a user being on vacation or away temporarily.
Messages aren't moved to archive mailbox after you create retention policy - Microsoft 365
Describes a scenario in Exchange Online in Microsoft 365 in which a retention policy that you create to move messages to a user's archive mailbox doesn't automatically run. Provides a workaround.
Configure and run the Managed Folder Assistant in Exchange Server
Summary: Learn how to configure the Managed Folder Assistant in Exchange Server 2016 and Exchange Server 2019.