If you have a meeting room that needs to be restrict for a certain department, C-suite or perhaps it’s for a specific purpose and you need to ensure the room will always be available. You can use the below script and define either specific users, or M365 Groups.
Parameter & Value | Description |
---|---|
AllBookInPolicy:$false | In-policy requests from all users aren’t automatically approved (approval by a delegate is required) |
AllRequestInPolicy:$false | Sets whether the meeting room allows all meeting requests. Requests will not be automatically approved |
BookInPolicy | Defines the list of users or groups that are whitelisted and allowed to book. |
PowerShell Script
Connect-ExchangeOnline
Get-Mailbox [email protected] | Set-CalendarProcessing -AllBookInPolicy:$false -AllRequestInPolicy:$false -BookInPolicy "[email protected]","[email protected]"","[email protected]"","[email protected]"
✨ Feedback & Suggestions
If you have any suggestions/feedback, you can contact me via my email.