Commands › Exchange Online

Set-EventsFromEmailConfiguration

Exchange Online ExchangeOnlineManagement Set-*

Modify the events from email settings on a mailbox. on Outlook clients and Outlook on the web. These settings define whether Outlook or Outlook on the web (formerly known as Outlook Web App) automatically discovers events from email messages and adds them to the user's calendar.

Quick start script

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

# 3. Make the change
Set-EventsFromEmailConfiguration -Identity <RecipientIdParameter> -ResetSettings <SwitchParameter>

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

Syntax — 2 parameter sets

Identity (Default)

Set-EventsFromEmailConfiguration [-Identity] <RecipientIdParameter>
 [-CreateEventsFromEmailAsPrivate <Boolean>]
 [-EventReservationProcessingLevel <String>]
 [-FlightReservationProcessingLevel <String>]
 [-FoodEstablishmentReservationProcessingLevel <String>]
 [-InvoiceProcessingLevel <String>]
 [-LodgingReservationProcessingLevel <String>]
 [-ParcelDeliveryProcessingLevel <String>]
 [-RentalCarReservationProcessingLevel <String>]
 [-ServiceReservationProcessingLevel <String>]
 [<CommonParameters>]

ResetSettings

Set-EventsFromEmailConfiguration [-Identity] <RecipientIdParameter>
 [-ResetSettings]
 [<CommonParameters>]

Parameters (11)

ParameterTypeRequiredWhat it controls
-Identity RecipientIdParameter yes The Identity parameter specifies the mailbox that you want to modify. You identify the mailbox by email address.
-CreateEventsFromEmailAsPrivate Boolean The CreateEventsFromEmailAsPrivate parameter specifies whether to create the events discovered from messages as normal or private events. Valid values are:
-EventReservationProcessingLevel String This parameter is deprecated and no longer used.
-FlightReservationProcessingLevel String The FlightReservationProcessingLevel parameter specifies whether flight reservations are automatically discovered from messages, and whether these reservations are automatically added to the user's calendar. Valid values are:
-FoodEstablishmentReservationProcessingLevel String This parameter is deprecated and no longer used.
-InvoiceProcessingLevel String This parameter is deprecated and no longer used.
-LodgingReservationProcessingLevel String The LodgingReservationProcessingLevel parameter specifies whether lodging reservations are automatically discovered from messages, and whether these reservations are automatically added to the user's calendar. Valid...
-ParcelDeliveryProcessingLevel String The ParcelDeliveryProcessingLevel parameter specifies whether parcel deliveries are automatically discovered from messages, and whether these reservations are automatically added to the user's calendar. Valid values are:
-RentalCarReservationProcessingLevel String The RentalCarReservationProcessingLevel parameter specifies whether rental car reservations are automatically discovered from messages, and whether these reservations are automatically added to the user's calendar....
-ResetSettings SwitchParameter yes The ResetSettings switch specifies whether to return all of the reservation discovery settings to their default values. You don't need to specify a value with this switch.
-ServiceReservationProcessingLevel String This parameter is deprecated and no longer used.

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