How to Restrict Exchange Room Booking to a Specific Domain
Question details
The user needs to restrict an Exchange room-booking policy to accept meeting requests only from users within a specific email domain.

- Product
- Microsoft Exchange Online
- Device & OS
- not provided
- Scenario
- Configuring room booking limitations using the Set-CalendarProcessing cmdlet in Exchange PowerShell.
- Observed behavior
- Attempting to use a wildcard domain (such as *@domain.com) in the RequestInPolicy or BookInPolicy parameters fails to apply, as wildcards are not supported for this calendar processing configuration.
Ensure you are connected to Exchange Online via PowerShell with Exchange Administrator privileges, and that the target room mailbox is already created.
Use a Mail-Enabled Distribution Group Instead of Wildcards
Since the Set-CalendarProcessing cmdlet does not accept wildcard domains, the standard workaround is to place all users from the specific domain into a distribution group and apply the policy to that group.
Microsoft Exchange Online requires specific object identities (such as a User Mailbox, Mail User, or Mail-Enabled Group) for calendar processing parameters like BookInPolicy and RequestInPolicy. Wildcard domains are invalid syntax for these fields.
To achieve a domain-level restriction, administrators must funnel the target users into a supported group. Note that Dynamic Distribution Groups are not supported for this specific calendar processing restriction.
Log in to the Exchange Admin Center and create a standard Mail-Enabled Distribution Group or Security Group. Add all users from the specific domain as members of this group.
Open PowerShell as an administrator and run 'Connect-ExchangeOnline' to authenticate with your administrator credentials.
Run the command: Set-CalendarProcessing -Identity "RoomName" -AllBookInPolicy $false -AllRequestInPolicy $false -BookInPolicy "YourDistributionGroup@domain.com" to restrict automatic booking to that group.
Execute Get-CalendarProcessing -Identity "RoomName" | Format-List to ensure the BookInPolicy and RequestInPolicy fields reflect your distribution group.

Consult the Microsoft Q&A Community for Complex Scenarios
If you have a complex hybrid Exchange environment or need advanced custom routing rules, specialized Microsoft experts can provide exact syntax.
Manage Your Documentation Effectively with WPS Office
While Microsoft Exchange handles complex backend room booking policies and server scripts, you need a reliable tool for your daily desktop tasks. WPS Office is a highly compatible, free alternative to Microsoft Office that makes documenting PowerShell scripts, drafting IT policies, and analyzing data effortless.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button.
- 2. Install WPS Office: Run the downloaded executable file and follow the standard installation prompts.
- 3. Start Creating: Open WPS Office to instantly view and edit your existing Microsoft Office documents without formatting loss.

Frequently Asked Questions
Why doesn't Exchange allow wildcards in Set-CalendarProcessing?
Exchange requires specific Active Directory object identities (like mailboxes or mail-enabled groups) to resolve permissions. A wildcard domain string does not correspond to an authenticable AD object, causing the validation to fail.
Can I use a Dynamic Distribution Group for BookInPolicy?
No. Exchange Online does not support Dynamic Distribution Groups for calendar processing policies like BookInPolicy or RequestInPolicy. You must use a static Mail-Enabled Distribution Group or a Mail-Enabled Security Group.
What is the difference between BookInPolicy and RequestInPolicy?
Users defined in BookInPolicy can automatically book the room if it is available. Users in RequestInPolicy can only submit a booking request; a configured resource delegate must manually approve or decline the meeting.




