How to create rooms in cloud

1. Сonnect to the tenant  

Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session

2. Create a room list

$RoomAlias = Get-Mailbox -RecipientTypeDetails RoomMailbox -Filter {Office -eq 'All Rooms'} | select -ExpandProperty Alias
New-DistributionGroup -RoomList -Name 'All Rooms' -Members $RoomAlias

3. Create rooms in Office 365 Admin center

4. Add existing Room Mailboxes (from the email field) to Room List Distribution Groups

Add-DistributionGroupMember -Identity "All Rooms" -Member **** //room's email

5. Setup permissions

$(Get-Group "All Rooms").Members | % {
$member = $_
$mailBox = Get-Mailbox -Identity $member
Add-MailboxFolderPermission $mailBox":\Calendar" -User *** -AccessRights Reviewer //exchange account

Item 4 Do as many times as rooms you need to add to the room list
If we added a room to the room list after we distributed permissions to the room list, this room will not have permissions (the error will fall).  After adding, you need to run the command item 5 again.

There are some useful commands below: 

6. How to check All existing Room lists


7. How to check all Rooms in Room List

Get-DistributionGroupMember -Identity *** // name of room list, i.e. "QA Rooms"


Was this article helpful?
0 out of 0 found this helpful


Article is closed for comments.