Commands › Exchange Online

Get-Notification

Exchange Online ExchangeOnlineManagement Get-*

> [!NOTE] > This cmdlet will be deprecated in the cloud-based service. The classic Exchange admin center was deprecated in the cloud-based service in 2023. Use the Get-Notification cmdlet to view notification events that are shown in the notification viewer in the Exchange admin center (EAC). These notifications are related to the following events: - Mailbox moves and migrations. - Expiring and expired certificates. - Exporting mailbox content to .pst files. - Importing mailbox content from .pst files. - Restoring deleted mailboxes.

Quick start script

# Get-Notification — 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
Get-Notification -Settings <SwitchParameter> -ProcessType <AsyncOperationType> | Format-List

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

Syntax — 3 parameter sets

Settings

Get-Notification [-Settings] -ProcessType <AsyncOperationType>
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Identity

Get-Notification [[-Identity] <EwsStoreObjectIdParameter>]
 [-Summary]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Filter

Get-Notification [-ProcessType <AsyncOperationType>]
 [-ResultSize <Unlimited>]
 [-StartDate <ExDateTime>]
 [-Summary]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-Identity EwsStoreObjectIdParameter The Identity parameter specifies the notification event that you want to view. You identify the notification event by its AlternativeID property value (a GUID). You can find this value by running the command...
-Settings SwitchParameter yes The Settings switch includes the ProcessType and NotificationEmail property values in the results. You don't need to specify a value with this switch.
-DomainController Fqdn The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name...
-ProcessType AsyncOperationType yes The ProcessType parameter filters the results by the type of notification event. Valid values are:
-ResultSize Unlimited The ResultSize parameter specifies the maximum number of results to return. If you want to return all requests that match the query, use unlimited for the value of this parameter. The default value is 1000.
-StartDate ExDateTime The StartDate parameter specifies the start date of the date range.
-Summary SwitchParameter The Summary switch includes only the ProcessType and Status property values in the results. 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.