# Set Room Mailbox Configuration

### Description

Updates room mailbox settings such as booking policy, calendar processing, and capacity. The runbook can optionally restrict BookInPolicy to members of a specific mail-enabled security group.

### Location

User → Mail → Set Room Mailbox Configuration

**Full Runbook name**

rjgit-user\_mail\_set-room-mailbox-configuration

### Permissions

#### Application permissions

* **Type**: Office 365 Exchange Online
  * Exchange.ManageAsApp

#### RBAC roles

* Exchange administrator

### Parameters

#### UserName

User principal name of the room mailbox.

| Property      | Value  |
| ------------- | ------ |
| Required      | true   |
| Default Value |        |
| Type          | String |

#### AllBookInPolicy

"Allow BookIn for everyone" (final value: $true) or "Custom BookIn Policy" (final value: $false) can be selected as action to perform. If set to true, the room will allow BookIn for everyone and the BookInPolicyGroup parameter will be ignored. If set to false, only members of the group specified in the BookInPolicyGroup parameter will be allowed to BookIn.

| Property      | Value   |
| ------------- | ------- |
| Required      | false   |
| Default Value | True    |
| Type          | Boolean |

#### BookInPolicyGroup

Group whose members are allowed to book when AllBookInPolicy is false.

| Property      | Value  |
| ------------- | ------ |
| Required      | false  |
| Default Value |        |
| Type          | String |

#### AllowRecurringMeetings

If set to true, allows recurring meetings.

| Property      | Value   |
| ------------- | ------- |
| Required      | false   |
| Default Value | True    |
| Type          | Boolean |

#### AutomateProcessing

Calendar processing mode for the room mailbox.

| Property      | Value      |
| ------------- | ---------- |
| Required      | false      |
| Default Value | AutoAccept |
| Type          | String     |

#### BookingWindowInDays

How many days into the future bookings are allowed.

| Property      | Value |
| ------------- | ----- |
| Required      | false |
| Default Value | 180   |
| Type          | Int32 |

#### MaximumDurationInMinutes

Maximum meeting duration in minutes.

| Property      | Value |
| ------------- | ----- |
| Required      | false |
| Default Value | 1440  |
| Type          | Int32 |

#### AllowConflicts

If set to true, allows scheduling conflicts.

| Property      | Value   |
| ------------- | ------- |
| Required      | false   |
| Default Value | False   |
| Type          | Boolean |

#### Capacity

Capacity to set for the room when greater than 0.

| Property      | Value |
| ------------- | ----- |
| Required      | false |
| Default Value | 0     |
| Type          | Int32 |

[Back to Runbook Reference overview](/automation/runbooks/runbook-references.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/automation/runbooks/runbook-references/user/mail/set-room-mailbox-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
