Commands › Exchange Online

Enable-PushNotificationProxy

Exchange Online ExchangeOnlineManagement Enable-*

Enable a push notification proxy between an on-premises Microsoft Exchange organization and a Microsoft 365 organization. In order for event notifications to be successfully delivered, you also need to configure OAuth authentication between your on-premises Exchange organization and your Microsoft 365 organization.

Quick start script

# Enable-PushNotificationProxy — 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-PushNotificationProxy
$before | Format-List

# 3. Make the change (dry run first)
Enable-PushNotificationProxy  -WhatIf
Enable-PushNotificationProxy

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

Syntax

Enable-PushNotificationProxy [-Confirm]
 [-Organization <String>]
 [-Uri <String>]
 [-WhatIf]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on whether the cmdlet requires confirmation before proceeding.
-Organization String The Organization parameter specifies the domain name of the Microsoft 365 organization. For example, contoso.onmicrosoft.com.
-Uri String The Uri parameter specifies the push notification service endpoint in Microsoft 365. The default value is <https://outlook.office365.com/PushNotifications>.
-WhatIf SwitchParameter The WhatIf switch shows what the command does without making any changes. You don't need to specify a value with this switch.

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