3. Setting up an All Rooms distribution list (for bulk room import)

Follow the below steps to setup an 'All Rooms' distribution list to enable connection between Space Connect and your room resources.

Note: You do not need to follow this step if you already have a global 'All Rooms' distribution list for your room resources.

 

Step 1: Set Execution Policy

Open a new PowerShell session in Administration mode and run the following command:

Set-ExecutionPolicy RemoteSigned

Results

 

Step 2: Confirm Execution of Policy

A response is required to the Exchange Execution Policy. Enter Y

 

Step 3: Authenticate

Once the exchange policy execution is complete, run the following command:

$UserCredential = Get-Credential

Results 

A pop-up will display requesting authentication.  Enter your administrator username and password.

 

Step 4: Start new session

Once your credentials are validated, run the following command:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

 

Step 5: Import commands

Now run the following command: 

Import-PSSession $Session

Results 

 

 

Step 6: Create distribution group

You now need to create your 'All Rooms' distribution group. Run the following command:

New-DistributionGroup -Name "AllRooms" -OrganizationalUnit "company.onmicrosoft.com" -RoomList

Note: You must replace "company.onmicrosoft.com' domain with your domain. 

 

Step 7: Confirm group created

Now check to make sure you setup your distribution list correctly. Run the following command: 

Get-DistributionGroup

Your new distribution group 'All Rooms' should be displayed in the list of results.

 

Step 8: Add members to group

Now you need to add the member to the group. Run the following command:

Add-DistributionGroupMember -Identity "AllRooms" -Member [room.name.here]@company.onmicrosoft.com

Note: You must replace "company.onmicrosoft.com' domain with your domain and replace [room.name.here] with the name of the room you would like to add to the distribution list.

 

Step 9: Confirm group membership

Check your group membership. Run the following command: 

Get-DistributionGroupMember

Results 

All rooms

 

Step 10: Wait for synchronisation

Now that you have completed setup of your distribution group, wait overnight for account synchronisation and then follow the next article to grant user permissions and link your rooms to SpaceConnect.