| applicable | Exchange Online, Built-in security add-on for on-premises mailboxes |
|---|---|
| external help file | |
| Locale | en-US |
| Module Name | ExchangePowerShell |
| online version | https://learn.microsoft.com/powershell/module/exchangepowershell/remove-hveappaccess |
| schema | 2.0.0 |
| title | Remove-HVEAppAccess |
This cmdlet is available only in the cloud-based service.
Use the Remove-HVEAppAccess cmdlet to remove applications from the Allowed Apps list of a High Volume Email (HVE) account.
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.
Remove-HVEAppAccess [-Identity] <MailUserIdParameter> -AppIds <MultiValuedProperty>
[-Confirm]
[-WhatIf]
[<CommonParameters>]
An HVE account is a special type of mail user (also known as a mail-enabled user) used to send large amounts of email. For more information, see High Volume Email.
The Allowed Apps list defines which Microsoft Entra applications are authorized to authenticate and send email via OAuth using the specified HVE account. Each HVE account can have up to ten allowed apps assigned. For more information, see OAuth authentication for High Volume Email.
Changes can take up to 5 minutes to take effect.
You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.
Remove-HVEAppAccess -Identity HVEAccount01@tailspintoys.com -AppIds "11111111-1111-1111-1111-111111111111"This example removes the specified application from the Allowed Apps list of the specified HVE account.
Remove-HVEAppAccess -Identity HVEAccount01@tailspintoys.com -AppIds "11111111-1111-1111-1111-111111111111","22222222-2222-2222-2222-222222222222"This example removes multiple specified applications from the Allowed Apps list of the specified HVE account.
$Apps = (Get-HVEAccountSettings -Identity HVEAccount01@tailspintoys.com).AllowedApps
Remove-HVEAppAccess -Identity HVEAccount01@tailspintoys.com -AppIds $AppsThis example removes all existing applications from the Allowed Apps list of the specified HVE account.
Applicable: Exchange Online, Built-in security add-on for on-premises mailboxes
The Identity parameter specifies the email address of the HVE account you want to modify.
Type: MailUserIdParameter
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: FalseApplicable: Exchange Online, Built-in security add-on for on-premises mailboxes
The AppIds parameter specifies the Microsoft Entra application to remove from the Allowed Apps list of the HVE account. You can specify multiple values separated by commas.
To see the list of currently configured apps for the HVE account, run the following command: (Get-HVEAccountSettings -Identity HVEAccount01@tailspintoys.com).AllowedApps.
Type: MultiValuedProperty
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseApplicable: Exchange Online, Built-in security add-on for on-premises mailboxes
This parameter is reserved for internal Microsoft use.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseApplicable: Exchange Online, Built-in security add-on for on-premises mailboxes
This parameter is reserved for internal Microsoft use.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.