Exchange Web Services only allow rooms that are members of a distribution group to be queried programmatically, therefore all Exchange rooms mapped to Condeco must be added to an Exchange distribution group. Condeco only synchronizes Exchange rooms in this group.
The distribution group is not used for security, it is only to reduce administrative overhead. You can, however, use mail-enabled security groups to control access to calendars.
Create Distribution Group
Use the following PowerShell script to create a Room List Distribution Group:
New-DistributionGroup -Name <distribution group name> -DisplayName <distribution group display name> -PrimarySmtpAddress <distribution group email address> -RoomList
Add room mailbox to Distribution Group
Add the Exchange room mailboxes to the distribution group using the following PowerShell script:
Add-DistributionGroupMember -Identity <distribution group name> -Member <room mailbox name>
Remove mailbox from Distribution Group
If you want to remove a room mailbox from the Condeco interface, first remove any room mapping within Condeco and then remove the room from the Distribution Group:
- Use the Condeco web interface to remove the Exchange room mapping to the Condeco room.
- Remove the Exchange room calendar from the security group. Use the following PowerShell script to remove mailbox calendars from a security group.
Remove-DistributionGroupMember -Identity "Enter Group Name" -Member "Enter Mailbox id"