Commands › Exchange Online

Set-HVEAccountSettings

Exchange Online ExchangeOnlineManagement Set-*

Modify the account settings of a High Volume Email (HVE) account.

Quick start script

# Set-HVEAccountSettings — 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-HVEAccountSettings
$before | Format-List

# 3. Make the change (dry run first)
Set-HVEAccountSettings -Identity <MailUserIdParameter> -WhatIf
Set-HVEAccountSettings -Identity <MailUserIdParameter>

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

Syntax

Set-HVEAccountSettings [-Identity] <MailUserIdParameter> [-ReplyTo <SmtpAddress>]
 [-Confirm]
 [-WhatIf]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Identity MailUserIdParameter yes The Identity parameter specifies the email address of the HVE account you want to modify.
-Confirm SwitchParameter This parameter is reserved for internal Microsoft use.
-ReplyTo SmtpAddress The ReplyTo parameter specifies the destination email address for replies to messages sent from the HVE account.
-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.