We often get confused when it comes to assigning permissions or using room mailboxes in office365. So in order to help you manage room mailboxes using powershell, we have the below information:
Resource Mailbox is a special type or a Mailbox that is used for the management of Meeting Rooms and Equipment. The Resource Mailbox doesn’t require a license.
Management of Resource Mailbox could implement by using one of the following options:
Self-management – the Resource Mailbox will be configured for automation of accepting meeting requests (or decline meeting request if a previous meeting request already set).
Resource Mailbox Delegate – The delegate is the person that will accept the meeting requests and approve or decline the meeting requests.
The term “resource Mailbox” includes two types of Mailboxes – Room Mailbox and Equipment Mailbox.
There is a small difference between the two types of the resource mailbox but the use, and the purpose is quite similar (most of the examples will relate to room Mailbox).
1. Creating Resource Mailbox
New-Mailbox -Name "Email address of the room mailbox" -Room
2. Create new Equipment Mailbox
New-Mailbox -Name "Email address of the equipment mailbox" -Equipment
3. Booking options: Enable Automatic Booking for a Room Mailbox
Set-CalendarProcessing "Email address of the room mailbox" -AutomateProcessing AutoAccept
4. Booking options: Enable Automatic Booking for all Resource Mailbox (Bulk Mode)
Get-MailBox | Where {$_.ResourceType -eq "Room"} | Set-CalendarProcessing-AutomateProcessing:AutoAccept
5. Booking options: Assign approving delegate (Room Mailbox Calendar)
Set-CalendarProcessing "Email address of the room mailbox" –ResourceDelegates "test@contoso.com"
6. Assign Room Mailbox Manager Full Access permission
Add-MailBoxPermission "Email address of the room mailbox" -User "test@contoso.com" -AccessRights FullAccess
7. Assign Room Mailbox Manager -Assigning Send As permission
Add-RecipientPermission "Email address of the room mailbox" -Trustee "test@contoso.com" -AccessRights SendAs -Confirm:$False
8. Set the default permission of Calendar to: Publishing Editor
Set-MailBoxFolderPermission "Email address of the room mailbox:\Calendar>" –User default –AccessRights PublishingEditor
9. Allow conflict meetings when using the option of Automatic Booking
Set-CalendarProcessing "Email address of the room mailbox" -AllowConflicts $True
Applies TO: Exchange Online. m