Commands › Exchange Online

Set-CalendarProcessing

Exchange Online ExchangeOnlineManagement Set-*

Modify calendar processing options for resource mailboxes, which include the Calendar Attendant, resource booking assistant, and calendar configuration. This cmdlet is effective only on resource mailboxes.

Quick start script

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

# 3. Make the change (dry run first)
Set-CalendarProcessing -Identity <MailboxIdParameter> -WhatIf
Set-CalendarProcessing -Identity <MailboxIdParameter>

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

Syntax

Set-CalendarProcessing [-Identity] <MailboxIdParameter>
 [-AddAdditionalResponse <Boolean>]
 [-AdditionalResponse <String>]
 [-AddNewRequestsTentatively <Boolean>]
 [-AddOrganizerToSubject <Boolean>]
 [-AllBookInPolicy <Boolean>]
 [-AllowConflicts <Boolean>]
 [-AllowRecurringMeetings <Boolean>]
 [-AllRequestInPolicy <Boolean>]
 [-AllRequestOutOfPolicy <Boolean>]
 [-AutomateProcessing <CalendarProcessingFlags>]
 [-BookingType <ResourceBookingType>]
 [-BookingWindowInDays <Int32>]
 [-BookInPolicy <RecipientIdParameter[]>]
 [-Confirm]
 [-ConflictPercentageAllowed <Int32>]
 [-DeleteAttachments <Boolean>]
 [-DeleteComments <Boolean>]
 [-DeleteNonCalendarItems <Boolean>]
 [-DeleteSubject <Boolean>]
 [-DomainController <Fqdn>]
 [-EnableAutoRelease <Boolean>]
 [-EnableResponseDetails <Boolean>]
 [-EnforceCapacity <Boolean>]
 [-EnforceSchedulingHorizon <Boolean>]
 [-ForwardRequestsToDelegates <Boolean>]
 [-IgnoreDefaultScope]
 [-MaximumConflictInstances <Int32>]
 [-MaximumDurationInMinutes <Int32>]
 [-MinimumDurationInMinutes <Int32>]
 [-OrganizerInfo <Boolean>]
 [-PostReservationMaxClaimTimeInMinutes <Int32>]
 [-ProcessExternalMeetingMessages <Boolean>]
 [-RemoveCanceledMeetings <Boolean>]
 [-RemoveForwardedMeetingNotifications <Boolean>]
 [-RemoveOldMeetingMessages <Boolean>]
 [-RemovePrivateProperty <Boolean>]
 [-RequestInPolicy <RecipientIdParameter[]>]
 [-RequestOutOfPolicy <RecipientIdParameter[]>]
 [-ResourceDelegates <RecipientIdParameter[]>]
 [-ScheduleOnlyDuringWorkHours <Boolean>]
 [-TentativePendingApproval <Boolean>]
 [-WhatIf]
 [<CommonParameters>]

Parameters (43)

ParameterTypeRequiredWhat it controls
-Identity MailboxIdParameter yes The Identity parameter specifies the resource mailbox that you want to modify. You can use any value that uniquely identifies the mailbox. For example:
-AddAdditionalResponse Boolean The AddAdditionalResponse parameter specifies whether additional information (the value of the AdditionalResponse parameter) is added to meeting request responses. Valid values are:
-AdditionalResponse String The AdditionalResponse parameter specifies the additional information to be included in responses to meeting requests when the value of the AddAdditionalResponse parameter is $true. If the value contains spaces,...
-AddNewRequestsTentatively Boolean The AddNewRequestsTentatively parameter specifies whether new meeting requests are added to the calendar as tentative. Valid values are:
-AddOrganizerToSubject Boolean The AddOrganizerToSubject parameter specifies whether the meeting organizer's name is used as the subject of the meeting request. Valid values are:
-AllBookInPolicy Boolean The AllBookInPolicy parameter specifies whether to automatically approve in-policy requests from all users to the resource mailbox. Valid values are:
-AllowConflicts Boolean The AllowConflicts parameter specifies whether to allow conflicting meeting requests. Valid values are:
-AllowRecurringMeetings Boolean The AllowRecurringMeetings parameter specifies whether to allow recurring meetings in meeting requests. Valid values are:
-AllRequestInPolicy Boolean The AllRequestInPolicy parameter specifies whether to allow all users to submit in-policy requests to the resource mailbox. Valid values are:
-AllRequestOutOfPolicy Boolean The AllRequestOutOfPolicy parameter specifies whether to allow all users to submit out-of-policy requests to the resource mailbox. Valid values are:
-AutomateProcessing CalendarProcessingFlags The AutomateProcessing parameter enables or disables calendar processing on the mailbox. Valid values are:
-BookingType <ResourceBookingType> This parameter is available only in the cloud-based service.
-BookingWindowInDays Int32 The BookingWindowInDays parameter specifies the maximum number of days in advance that the resource can be reserved. A valid value is an integer from 0 through 1080. The default value is 180 days. The value 0 means today.
-BookInPolicy RecipientIdParameter[] The BookInPolicy parameter specifies users or groups who are allowed to submit in-policy meeting requests to the resource mailbox that are automatically approved. You can use any value that uniquely identifies the...
-Confirm SwitchParameter The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on whether the cmdlet requires confirmation before proceeding.
-ConflictPercentageAllowed Int32 The ConflictPercentageAllowed parameter specifies the maximum percentage of meeting conflicts for new recurring meeting requests. A valid value is an integer from 0 through 100. The default value is 0.
-DeleteAttachments Boolean The DeleteAttachments parameter specifies whether to remove attachments from all incoming messages. Valid values are:
-DeleteComments Boolean The DeleteComments parameter specifies whether to remove or keep any text in the message body of incoming meeting requests. Valid values are:
-DeleteNonCalendarItems Boolean The DeleteNonCalendarItems parameter specifies whether to remove or keep all non-calendar-related messages that are received by the resource mailbox. Valid values are:
-DeleteSubject Boolean The DeleteSubject parameter specifies whether to remove or keep the subject of incoming meeting requests. Valid values are:
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-EnableAutoRelease Boolean This parameter is available only in the cloud-based service.
-EnableResponseDetails Boolean The EnableResponseDetails parameter specifies whether to include the reasons for accepting or declining a meeting in the response email message. Valid values are:
-EnforceCapacity Boolean This parameter is available only in the cloud-based service.
-EnforceSchedulingHorizon Boolean The EnforceSchedulingHorizon parameter controls the behavior of recurring meetings that extend beyond the date specified by the BookingWindowInDays parameter. Valid values are:
-ForwardRequestsToDelegates Boolean The ForwardRequestsToDelegates parameter specifies whether to forward incoming meeting requests to the delegates that are configured for the resource mailbox. Valid values are:
-IgnoreDefaultScope SwitchParameter The IgnoreDefaultScope switch tells the command to ignore the default recipient scope setting for the Exchange PowerShell session, and to use the entire forest as the scope. You don't need to specify a value with this switch.
-MaximumConflictInstances Int32 The MaximumConflictInstances parameter specifies the maximum number of conflicts for new recurring meeting requests when the AllowRecurringMeetings parameter is set to $true. A valid value is an integer from 0...
-MaximumDurationInMinutes Int32 The MaximumDurationInMinutes parameter specifies the maximum duration in minutes for meeting requests. A valid value is an integer from 0 through INT32 (2147483647). The default value is 1440 (24 hours).
-MinimumDurationInMinutes Int32 This parameter is available only in the cloud-based service.
-OrganizerInfo Boolean The OrganizerInfo parameter specifies whether the resource mailbox sends organizer information when a meeting request is declined because of conflicts. Valid values are:
-PostReservationMaxClaimTimeInMinutes Int32 This parameter is available only in the cloud-based service.
-ProcessExternalMeetingMessages Boolean The ProcessExternalMeetingMessages parameter specifies whether to process meeting requests that originate outside the Exchange organization. Valid values are:
-RemoveCanceledMeetings Boolean This parameter is available only in the cloud-based service.
-RemoveForwardedMeetingNotifications Boolean The RemoveForwardedMeetingNotifications parameter specifies whether forwarded meeting notifications are moved to the Deleted Items folder after they're processed by the Calendar Attendant. Valid values are:
-RemoveOldMeetingMessages Boolean The RemoveOldMeetingMessages parameter specifies whether the Calendar Attendant removes old and redundant updates and responses. Valid values are:
-RemovePrivateProperty Boolean The RemovePrivateProperty parameter specifies whether to clear the private flag for incoming meetings that were sent by the organizer in the original requests. Valid values are:
-RequestInPolicy RecipientIdParameter[] The RequestInPolicy parameter specifies users who are allowed to submit in-policy meeting requests to the resource mailbox that require approval by a resource mailbox delegate. You can use any value that uniquely...
-RequestOutOfPolicy RecipientIdParameter[] The RequestOutOfPolicy parameter specifies users who are allowed to submit out-of-policy requests that require approval by a resource mailbox delegate. You can use any value that uniquely identifies the user. For example:
-ResourceDelegates RecipientIdParameter[] The ResourceDelegates parameter specifies users can approve or reject requests that are sent to the resource mailbox. You can use any value that uniquely identifies the user. For example:
-ScheduleOnlyDuringWorkHours Boolean The ScheduleOnlyDuringWorkHours parameter specifies whether to allow meetings to be scheduled outside of the working hours that are defined for the resource mailbox. Valid values are:
-TentativePendingApproval Boolean The TentativePendingApproval parameter specifies whether to mark pending requests as tentative on the calendar. Valid values are:
-WhatIf SwitchParameter The WhatIf switch shows what the command does without making any changes. 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.