Showing results for 
Search instead for 
Did you mean: 
New Member

Can't GetRoomLists

I'm trying to create something similar to the Book a Room template app, but I'm not getting very far. I am trying to get a collection of rooms to fill of our organizations conference rooms. I copied some code from the Book a Room app, but I keep getting a blank collection. Any advice is greatly appreciated.


Code, run at app start:

ClearCollect(AllRooms, Office365.GetRoomLists().value);


Data Sources:



Responsive Resident
Responsive Resident

Hi Jlevwayside, DId you get a chance to check the data source does that have data? Regards, Pavan Kumar Garlapati

It is the same data source as in the Book a Room template app. That app can retieve the room list successfully.

Community Support
Community Support

Hi @jlevwayside ,

This formula is right.

I've made a similar test and not the same problem like your description.871.PNG






If you have no items in there then check the Connector and make sure the user chosen can access the Room List.

Here's a similar isse for your reference:



Best regards,

Community Support Team _ Phoebe Liu


Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yutliu-msft Your method worked once I tied it to a button. It does not work if I have it in the "App" object within the "OnStart" hook. I would like these loaded at the start of the app, is that possible?

It also does not seem to work with the OnVisible section of a screen.

Helpful resources

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,178)