Set-EventsFromEmailConfiguration

This cmdlet is available only in the cloud-based service.

Use the Set-EventsFromEmailConfiguration cmdlet to 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.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

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

Description

You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Set-EventsFromEmailConfiguration -Identity peter@contoso.com -InvoiceProgressingLevel Disabled

This example disables the discovery of invoices from messages for the user.

Example 2

Set-EventsFromEmailConfiguration -Identity peter@contoso.com -ServiceReservationProcessingLevel Calendar -CreateEventsFromEmailAsPrivate $true

This example enables the discovery of service reservations, automatically adds them to the user's calendar, and makes these automatically added events private.

Example 3

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

This example resets Events from Email settings for the user.

Parameters

-CreateEventsFromEmailAsPrivate

The CreateEventsFromEmailAsPrivate parameter specifies whether to create the events discovered from messages as normal or private events. Valid values are:

  • $true: The events are crated as private events. This is the default value.
  • $false: The events are created as normal events.
Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-EventReservationProcessingLevel

This parameter has been deprecated and is no longer used.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-FlightReservationProcessingLevel

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:

  • Disabled: Do not discover flight reservations from messages.
  • Email: Discover flight reservations from messages, but don't automatically add them to the user's calendar.
  • Calendar: Discover flight reservations from messages and automatically add them to the user's calendar. This is the default value.

Note that these values are case sensitive.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-FoodEstablishmentReservationProcessingLevel

This parameter has been deprecated and is no longer used.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-Identity

The Identity parameter specifies the mailbox that you want to modify. You identify the mailbox by email address.

Type:RecipientIdParameter
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Online

-InvoiceProcessingLevel

This parameter has been deprecated and is no longer used.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-LodgingReservationProcessingLevel

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 values are:

  • Disabled: Do not discover lodging reservations from messages.
  • Email: Discover lodging reservations from messages however do not automatically add these to the user's calendar.
  • Calendar: Discover lodging reservations from messages and automatically add them to the user's calendar. This is the default value.
Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-ParcelDeliveryProcessingLevel

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:

  • Disabled: Do not discover parcel deliveries from messages.
  • Email: Discover parcel deliveries from messages however do not automatically add these to the user's calendar.
  • Calendar: Discover parcel deliveries from messages and automatically add them to the user's calendar. This is the default value.
Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-RentalCarReservationProcessingLevel

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. Valid values are:

  • Disabled: Do not discover rental car reservations from messages.
  • Email: Discover rental car reservations from messages, but don't automatically add them to the user's calendar.
  • Calendar: Discover rental car reservations from messages and automatically add them to the user's calendar. This is the default value.
Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-ResetSettings

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.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-ServiceReservationProcessingLevel

This parameter has been deprecated and is no longer used.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online