Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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.

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.

Workaround

To verify that this value is set correctly, run the following command in Exchange Management Shell (EMS): 

Import-Module ActiveDirectoryThen, run the following command in EMS, and check that the mDBUseDefaults value is true:

Get-ADUser Alias -Properties mDBUseDefaults

Status

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

More Information

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

General information about the Set-Mailbox cmdletFor more information about theSet-MailboxDatabase cmdlet, go to the following Microsoft website:

General information about the Set-MailboxDatabase cmdlet

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×