Concepts
To effectively manage your emails and ensure compliance with organizational requirements and regulatory standards, you can configure Messaging Records Management (MRM) and retention policies for specific mailbox folders in Microsoft 365 Messaging. Here’s how you can do it:
Step 1: Connect to Exchange Online PowerShell
To begin, you need to connect to Exchange Online PowerShell. Follow these steps:
- Install the Exchange Online Management PowerShell module by running the following command in Windows PowerShell:
Install-Module -Name ExchangeOnlineManagement
- Connect to Exchange Online PowerShell by running the following commands:
$UserCredential = Get-Credential
$ExchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $ExchangeSession -DisableNameChecking
Step 2: Get the Specific Mailbox Folder
Identify the folder for which you want to configure the MRM and retention policies. Use the Get-MailboxFolder
cmdlet to retrieve the specific mailbox folder details. For example, to get the Inbox folder for a specific mailbox named “[email protected],” run the following command:
Get-MailboxFolder -Identity [email protected]:\Inbox
Step 3: Configure MRM and Retention Policies
Now that you have identified the specific mailbox folder, you can proceed to configure the MRM and retention policies.
a. Default Folder Policies
Default folder policies are applied to all folders in a mailbox. To configure the default folder policy, use the Set-Mailbox
cmdlet. For example, to set the default folder policy for the “[email protected]” mailbox to Calendar and apply the “Default MRM Policy,” run the following command:
Set-Mailbox -Identity [email protected] -DefaultFolderType Calendar -RetentionPolicy "Default MRM Policy"
b. Custom Folder Policies
Custom folder policies allow you to set specific policies for individual folders. Follow these steps:
i. Create a Custom Policy Tag
Use the New-RetentionPolicyTag
cmdlet to create a custom policy tag. For example, to create a custom policy tag named “WeeklyArchive” with a retention period of 90 days and move items to the Archive folder, run the following command:
New-RetentionPolicyTag -Name "WeeklyArchive" -Type All -RetentionEnabled $true -AgeLimitForRetention 90 -RetentionAction MoveToArchive
ii. Apply the Custom Policy Tag to the Folder
Once the custom policy tag is created, you can apply it to the specific folder using the Set-MailboxFolder
cmdlet. For example, to apply the “WeeklyArchive” policy tag to the “[email protected]:\Inbox” folder, run the following command:
Set-MailboxFolder -Identity [email protected]:\Inbox -RetentionPolicy "WeeklyArchive"
Step 4: Verify the Configuration
To ensure the MRM and retention policies are successfully configured for the specific mailbox folder, you can use the Get-MailboxFolder
cmdlet again. For example, to retrieve the folder details after applying the policies, run the following command:
Get-MailboxFolder -Identity [email protected]:\Inbox
By following these steps, you can configure Messaging Records Management (MRM) and retention policies for a specific mailbox folder in Microsoft 365 Messaging. These policies help automate the management and retention of emails and other items in your mailbox, ensuring compliance with organizational requirements and regulatory standards.
Answer the Questions in Comment Section
Which of the following options allow you to configure Messaging Records Management (MRM) for a specific mailbox folder in Microsoft 365?
- a) Exchange Admin Center
- b) PowerShell cmdlets
- c) Outlook client settings
- d) SharePoint Online settings
Correct answer: a) Exchange Admin Center and b) PowerShell cmdlets
True or False: Messaging Records Management (MRM) can only be configured at the organization level and cannot be applied to specific mailbox folders.
Correct answer: False
Which of the following actions can you apply to a specific mailbox folder using Messaging Records Management (MRM) in Microsoft 365? (Select all that apply)
- a) Apply a retention policy
- b) Apply a legal hold
- c) Apply a classification label
- d) Apply an encryption policy
Correct answer: a) Apply a retention policy and b) Apply a legal hold
True or False: When configuring Messaging Records Management (MRM) for a specific mailbox folder, the retention policies applied to the parent folders are automatically inherited.
Correct answer: True
How can you view the currently applied Messaging Records Management (MRM) settings for a specific mailbox folder in Microsoft 365?
- a) Using the Exchange Online PowerShell cmdlet Get-MailboxFolder
- b) Using the Outlook client by accessing folder properties
- c) Using the Security & Compliance Center in the Microsoft 365 admin center
- d) Using the SharePoint Online admin center
Correct answer: c) Using the Security & Compliance Center in the Microsoft 365 admin center
True or False: You can configure different retention policies for different subfolders within a specific mailbox folder using Messaging Records Management (MRM) in Microsoft
Correct answer: True
Which of the following retention actions can be applied when configuring Messaging Records Management (MRM) for a specific mailbox folder? (Select all that apply)
- a) Permanently delete items
- b) Move items to the Deleted Items folder
- c) Archive items to a specified location
- d) Apply a litigation hold
Correct answer: a) Permanently delete items, b) Move items to the Deleted Items folder, and c) Archive items to a specified location
True or False: Messaging Records Management (MRM) settings can be configured on individual mailbox items within a specific mailbox folder.
Correct answer: False
What happens to items in a specific mailbox folder when a retention policy is applied through Messaging Records Management (MRM)?
- a) The items are automatically deleted.
- b) The items are moved to the Archive mailbox.
- c) The items are moved to the Recoverable Items folder.
- d) The items are processed based on the actions defined in the retention policy.
Correct answer: d) The items are processed based on the actions defined in the retention policy.
True or False: You need administrative privileges to configure Messaging Records Management (MRM) for a specific mailbox folder in Microsoft
Correct answer: True
This post is very helpful for configuring MRM and retention policies. Thanks!
Can someone explain step-by-step how to assign a retention policy to a specific folder in a mailbox?
Appreciate the blog post. It clarifies a lot of things!
I encountered an error while trying to use the New-RetentionPolicyTag cmdlet. Does anyone know how to resolve this?
I’ve successfully applied the retention policy, but it’s not working as expected. What could be the issue?
Is it possible to apply retention policies to shared mailboxes?
Great discussion here. It helps a lot!
I noticed that the retention policy doesn’t apply to my subfolders. Is this normal?