Commands › Exchange Online

Add-HVEAppAccess

Exchange Online ExchangeOnlineManagement Add-*

Add applications to the Allowed Apps list of a High Volume Email (HVE) account.

Quick start script

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

# 2. Run and inspect
Add-HVEAppAccess -Identity <MailUserIdParameter> -AppIds <MultiValuedProperty> | Format-List

# 3. Export for evidence / drift tracking
Add-HVEAppAccess | Export-Clixml .\HVEAppAccess-$(Get-Date -Format yyyyMMdd).xml

Syntax

Add-HVEAppAccess [-Identity] <MailUserIdParameter> -AppIds <MultiValuedProperty>
 [-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.
-AppIds MultiValuedProperty yes The AppIds parameter specifies the Microsoft Entra application to add to the Allowed Apps list of the HVE account.
-Confirm SwitchParameter This parameter is reserved for internal Microsoft use.
-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.