Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Get-Mailbox returns incorrect value for the UseDatabaseRetentionDefaults property in an Exchange Server environment


View products that this article applies to.

Symptoms

The mailbox database RetainDeletedItemsUntilBackup value shows as true after you run the following two commands in a Microsoft Exchange Server environment:
  • Set-MailboxDatabase -Identity MailboxDatabase -RetainDeletedItemsUntilBackup:$true
  • Set-Mailbox -Identity Mailbox -UseDatabaseRetentionDefaults:$true
However, when you run the Get-Mailbox cmdlet and view the UseDatabaseRetentionDefaults value, it shows that the value is false.

↑ Back to the top


Cause

This issue occurs because the UseDatabaseRetentionDefaults property of a mailbox is displayed incorrectly as false when the administrator has set the RetainDeletedItemsUntilBackup property on the mailbox database to true.

↑ Back to the top


Workaround

To verify that this value is set correctly, run the following command in Exchange Management Shell (EMS): 
Import-Module ActiveDirectory
Then, run the following command in EMS, and check that the mDBUseDefaults value is true:
Get-ADUser Alias -Properties mDBUseDefaults

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More Information

For more information about the UseDatabaseRetentionDefaults and RetainDeletedItemsUntilBackup parameters, go to the following Microsoft website:For more information about theSet-MailboxDatabase cmdlet, go to the following Microsoft website:

↑ Back to the top


Keywords: kbprb, kbtshoot, kbexpertiseadvanced, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2997829
Revision : 1
Created on : 1/7/2017
Published on : 9/22/2014
Exists online : False
Views : 245