Commands › Exchange Online

Disable-JournalArchiving

Exchange Online ExchangeOnlineManagement Disable-*

Disable journal archiving for specific users. Microsoft 365 journal archiving uses mailboxes in Exchange Online to record or journal messages for mailboxes in on-premises organizations.

Quick start script

# Disable-JournalArchiving — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-JournalArchiving
$before | Format-List

# 3. Make the change (dry run first)
Disable-JournalArchiving -Identity <MailboxIdParameter> -WhatIf
Disable-JournalArchiving -Identity <MailboxIdParameter>

# 4. Verify and diff
$after = Get-JournalArchiving
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Disable-JournalArchiving [-Identity] <MailboxIdParameter>
 [-Confirm]
 [-PreserveMailUser]
 [-WhatIf]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Identity MailboxIdParameter yes The Identity parameter specifies the identity of the user's journal archive mailbox in Exchange Online. You can use any value that uniquely identifies the journal archive mailbox. For example:
-Confirm SwitchParameter This parameter is reserved for internal Microsoft use.
-PreserveMailUser SwitchParameter The PreserveMailUser switch specifies that you want to keep the mail user that's associated with the archive mailbox. You don't need to specify a value with this switch.
-WhatIf SwitchParameter This parameter is reserved for internal Microsoft use.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.