How to Set-up an All Rooms Distribution List for Bulk Room Import
Follow the steps below to set up an 'All Rooms' distribution list to enable the connection between Space Connect and your room resources.
You do not need to follow this step if you already have a global 'All Rooms' distribution list for your room resources.
Firstly, you need to set an execution policy. Open a new PowerShell session in Administration mode and run the following command:
Set-ExecutionPolicy RemoteSigned Results
Confirm the execution of policy by entering Y.
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.
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
Now run the following command:
Import-PSSession $Session Results
You now need to create your 'All Rooms' distribution group. Run the following command:
New-DistributionGroup -Name "AllRooms" -OrganizationalUnit "company.onmicrosoft.com" -RoomList
You must replace the "company.onmicrosoft.com' domain with your domain.
Now check to make sure you set up your distribution list correctly, Run the following command:
Get-DistributionGroup
Your new distribution group 'All Rooms' should be displayed in the list of results.
Now you need to add the members to the group. Run the following command:
Add-DistributionGroupMember -Identity "AllRooms" -Member [room.name.here]@company.onmicrosoft.com
You must replace the "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.
Now check your group membership by running the following command:
Get-DistributionGroupMember Results All rooms
Now that you have completed the set-up of your distribution group, wait overnight for account synchronisation and then follow the next article to grant user permissions and link your rooms to Space Connect.