How to Use Set-EventsFromEmailConfiguration in PowerShell

2 min read James Futhey First published March 5, 2026
Microsoft Learn documentation for the Set-EventsFromEmailConfiguration cmdlet showing its PowerShell syntax

Set-EventsFromEmailConfiguration changes the events from email settings on an Exchange Online mailbox. These settings control whether Outlook and Outlook on the web find reservations in email messages and add them to the user's calendar. Get-EventsFromEmailConfiguration shows the current settings.

Both cmdlets work only in Exchange Online. Neither exists in on-premises Exchange Server.

What events from email covers

4 reservation types still work. Each has its own parameter:

Parameter Emails it controls
FlightReservationProcessingLevel Flight reservations
LodgingReservationProcessingLevel Lodging (hotel) reservations
RentalCarReservationProcessingLevel Rental car reservations
ParcelDeliveryProcessingLevel Parcel deliveries

Each one takes 1 of 3 values:

Value What happens
Calendar Outlook finds the item in email and adds it to the calendar. This is the default.
Email Outlook finds the item in email but doesn't add it to the calendar.
Disabled Outlook doesn't look for the item in email.

Microsoft marks the flight values as case sensitive. Type them exactly as shown for every parameter to be safe.

A fifth setting, CreateEventsFromEmailAsPrivate, controls whether added events are private. $true makes them private and is the default. $false makes them normal events.

Deprecated parameters

Microsoft lists 4 parameters as deprecated and no longer used:

  • EventReservationProcessingLevel
  • FoodEstablishmentReservationProcessingLevel
  • InvoiceProcessingLevel
  • ServiceReservationProcessingLevel

They still appear in the syntax and in Get-EventsFromEmailConfiguration output. 2 of the examples on Microsoft's own Set-EventsFromEmailConfiguration page still use them.

Before you start

  1. Connect to Exchange Online PowerShell with Connect-ExchangeOnline. To set it up, follow our guide to installing the Exchange Online PowerShell module.
  2. Confirm your account has permission to run the cmdlet. Microsoft explains how in Find the permissions required to run any Exchange cmdlet.

Check the current settings with Get-EventsFromEmailConfiguration

Get-EventsFromEmailConfiguration -Identity adele@contoso.com

This returns every events from email setting for the mailbox. Identity is required and takes the mailbox's email address.

Check your variables before you pass them. Microsoft warns that a $null or non-existent Identity value returns all objects, as if you left Identity out.

Set-EventsFromEmailConfiguration syntax

The cmdlet has 2 parameter sets. Use the first to change settings:

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

Use the second to reset everything:

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

You can't combine ResetSettings with the other parameters in one command.

Examples

1. Stop adding flights to the calendar

Set-EventsFromEmailConfiguration -Identity adele@contoso.com -FlightReservationProcessingLevel Email

Outlook still finds flight reservations in Adele's email. It no longer adds them to her calendar.

2. Turn off hotel reservation discovery

Set-EventsFromEmailConfiguration -Identity adele@contoso.com -LodgingReservationProcessingLevel Disabled

Outlook stops looking for lodging reservations in Adele's email.

3. Turn off parcel deliveries

Set-EventsFromEmailConfiguration -Identity adele@contoso.com -ParcelDeliveryProcessingLevel Disabled

Parcel deliveries are on by default. This stops Outlook from finding them.

4. Make added events visible to calendar viewers

Set-EventsFromEmailConfiguration -Identity adele@contoso.com -CreateEventsFromEmailAsPrivate $false

Events added from email are private by default. This makes new ones normal events instead.

5. Change several settings at once

Set-EventsFromEmailConfiguration -Identity adele@contoso.com -FlightReservationProcessingLevel Calendar -LodgingReservationProcessingLevel Calendar -RentalCarReservationProcessingLevel Calendar -CreateEventsFromEmailAsPrivate $true

This sets flights, lodging and rental cars to add to the calendar, and keeps the added events private.

6. Reset to the defaults

Set-EventsFromEmailConfiguration -Identity adele@contoso.com -ResetSettings

ResetSettings is a switch, so it takes no value. It returns every reservation discovery setting to its default.

7. Apply one setting to several mailboxes

"adele@contoso.com","alex@contoso.com" | ForEach-Object {
    Set-EventsFromEmailConfiguration -Identity $_ -ParcelDeliveryProcessingLevel Disabled
}

Set-EventsFromEmailConfiguration changes one mailbox per call. The loop runs it once for each address. Run Get-EventsFromEmailConfiguration on each one afterward to confirm the change.

Working hours, time zone and reminder settings for a mailbox are in Set-MailboxCalendarConfiguration.

References

Add a display to your office

Every room, on the door.

Live availability on every meeting room. Works with Microsoft 365, Exchange and Google Workspace.