Commands › Exchange Online
Set-EventsFromEmailConfiguration
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)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.