web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Can't GetRoomLists

(0) ShareShare
ReportReport
Posted on by 6

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:

Office365

Office365Users

Categories:
I have the same question (0)
  • PavanKumar Profile Picture
    479 on at
    Hi Jlevwayside, DId you get a chance to check the data source does that have data? Regards, Pavan Kumar Garlapati
  • jlevwayside Profile Picture
    6 on at

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

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @jlevwayside ,

    This formula is right.

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

     

    872.PNG

     

    873.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:

    https://powerusers.microsoft.com/t5/General-Discussion/Getting-list-of-all-rooms/td-p/177565

     

     

    Best regards,

    Community Support Team _ Phoebe Liu

     

  • jlevwayside Profile Picture
    6 on at

    @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?

  • jlevwayside Profile Picture
    6 on at

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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard