# Resources and Room Lists

In order for applications to be able to access lists or resources and/or rooms, there is a specific configuration requirement for Office 365 and Exchange.

To create a Room or Resource, you can use the Admin Web Interface for Office 365: [https://portal.office.com/adminportal/home#/ResourceMailbox](https://portal.office.com/adminportal/home#/ResourceMailbox)

Exchange users can add Resources to Distribution Lists but unfortunately Office 365 does not give the option to do this via the Admin Web Interface.

It is, however, possible via Powershell. You will first need to connect to your Office 365 instance as detailed here: [https://technet.microsoft.com/en-us/library/jj984289(v=exchg.160).aspx](https://technet.microsoft.com/en-us/library/jj984289(v=exchg.160).aspx)

Once you have done that, you can issue the Powershell commands required to create a Room List and add your Resource to it.

## Creating a Room List
To create a collection of rooms called "Meeting Rooms", issue the following Powershell command:

```
New-DistributionGroup -Name &quot;Meeting Rooms&quot; -RoomList
```

## Adding an existing Resource to a Room List
For an existing Room named "Board room" and an existing Room List named "Meeting Rooms", issue the following Powershell command:

```
Add-DistributionGroupMember –Identity &quot;Meeting Rooms&quot; -Member &quot;Board room&quot;
```

After you have added your Resource to a Room List, you should be able to see it appear when calling the [Listing Resources endpoint](/developers/api/enterprise-connect/list-resources/index.md) with an Enterprise Connect account.

> **WARNING:** While a room list can contain as many rooms as you want, [there is a limit](https://learn.microsoft.com/en-us/exchange/recipients/room-mailboxes?view=exchserver-2019#create-a-room-list) that only a maximum of **100** items will be returned. To avoid this you can create multiple room lists, each with less than 100 rooms.

### Troubleshooting
The Service Account being utilized must have a mailbox and a license (Office 365 E3 or higher) assigned to it as outlined in our [Service account configuration guide](/calendar-admins/enterprise-connect-office365-exchange/configuring-service-account/index.md). If the Service Account does not have a mailbox or license assigned, rooms and resources will not be retrieved in roomlists.



---
[Read in HTML](/calendar-admins/enterprise-connect-office365-exchange/resources-room-lists/)