Skip to content

Move audit log mailbox in Exchange Server

How to move audit log mailbox in Exchange Server 2010/2013/2016/2019? We recommend you move the audit log mailbox to the highest Exchange Server version in the organization. If you install the same version of Exchange Server, you don’t have to move the audit log mailbox to it.

When to move audit log mailbox

Get audit log mailbox in Exchange environment

Sign in to the highest version of Exchange Server. For example, if you have an Exchange Server 2010 and Exchange Server 2016. Sign in to Exchange Server 2016. After that, run Exchange Management Shell as administrator.

Run Set-ADServerSettings cmdlet, including the -ViewEntireForest parameter. It will let you view the objects in the entire forest. Next, get the audit log mailbox.

[PS] C:\>Set-ADServerSettings -ViewEntireForest $true

[PS] C:\>Get-Mailbox -AuditLog | Format-Table Name, ServerName, Database, AdminDisplayVersion

Name                                                ServerName Database AdminDisplayVersion
----                                                ---------- -------- -------------------
SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9} ex01-2016  DB01     Version 15.1 (Build 2044.4)

Is the audit log mailbox corrupt or not shown after running the above cmdlets? Read the article Recreate audit log mailbox in Exchange Server.

Move audit log mailbox in Exchange to another database

Do you know to which mailbox database you will move the audit log mailbox? Ensure that the mailbox database is mounted. Read the article Get Exchange mailbox database mount status.

In our example, we will move the audit log mailbox from DB01 to DB02.

[PS] C:\>Get-Mailbox -AuditLog | New-MoveRequest -TargetDatabase "DB02"

DisplayName                                         StatusDetail        TotalMailboxSize TotalArchiveSize PercentComplete
-----------                                         ------------        ---------------- ---------------- ---------------
SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9} WaitingForJobPickup 0 B (0 bytes)                     0

Check audit log mailbox move request status.

[PS] C:\>Get-MoveRequest | Get-MoveRequestStatistics

DisplayName                                         StatusDetail TotalMailboxSize TotalArchiveSize PercentComplete
-----------                                         ------------ ---------------- ---------------- ---------------
SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9} Completed    0 B (0 bytes)                     100

Verify that the audit log mailbox moved to the target mailbox database successfully.

[PS] C:\>Get-Mailbox -AuditLog | Format-Table Name, ServerName, Database, AdminDisplayVersion

Name                                                ServerName Database AdminDisplayVersion
----                                                ---------- -------- -------------------
SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9} ex01-2016  DB02     Version 15.1 (Build 2044.4)

Everything looks great. The audit log mailbox is moved to another database.

Keep reading: Recreate arbitration mailboxes in Exchange Server »

Conclusion

You learned how to move audit log mailbox in Exchange Server. First, get the audit log mailbox with PowerShell. After that, move the audit log mailbox to another Exchange Server 2010/2013/2016/2019. As of last, verify that the mailbox move is completed and hosted on the target mailbox database.

Did you enjoy this article? You may also like Install Exchange Server with GUI step by step. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 2 Comments

  1. Hi,
    What to do if this mailbox move simply stucks?
    SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9} StalledDueToTarget_MdbAvailability 0 B (0 bytes) 0

Leave a Reply

Your email address will not be published. Required fields are marked *