Use GetRoomLists and GetRooms when working with room list distribution groups in EWS. There is no limit on the number of room lists returned by GetRoomLists, but GetRooms returns no more than 100 rooms.
For the test, a room list distribution group was created with 110 members. It looks like this:
Run the following code with C# and the EWS Managed API:
1 | EmailAddressCollection myRoomLists = service.GetRoomLists(); |
The call does not throw an exception, but it retrieves only 100 rooms:
This is not a throttling policy, and the 100-room limit cannot be changed. You may not often register 100 rooms, but it is something to keep in mind.