Microsoft posted a blog about the new DAG activation preference behavior. It changed from Exchange…
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.
Table of contents
When to move audit log mailbox
- You like to delete a mailbox database. If you don’t move the audit log mailbox, you cannot delete the mailbox database.
- You have installed a higher version of Exchange Server in the organization.
- You want to decommission the Exchange Server that is hosting the 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.
Hi,
What to do if this mailbox move simply stucks?
SystemMailbox{8cc370d3-822a-4ab8-a926-bb94bd0641a9} StalledDueToTarget_MdbAvailability 0 B (0 bytes) 0
You can always recreate the Audit log mailbox.