cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

Is there a way to get the a Room by it's name?

Hello. I am using Office365Outlook.GetRoomsV2().value but it is only limited to the first 100 rooms. I am trying to use a filter to only get some rooms but it doesn't work. I know these rooms exist but they are probably near the 200 range of meetings rooms if they are returned alphabetically. 

 

I have this code here: Filter(Office365Outlook.GetRoomsV2().value, name in CDSMeetingRooms.'Desk ID')

And it doesn't work when I'm looking for those rooms in the 200 range but it works for the rooms that start with A, B and so on because they are included in the first 100 rooms returned by Office365Outlook.GetRoomsV2().value.

Even when I do LookUp(Office365Outlook.GetRoomsV2().value, name = "<name of room>").name, it doesn't work.

I know these rooms exist because I have another way of getting them. I loop through all the roomlists and then get all the rooms from each roomlist.

I get all the roomlists.
ClearCollect(RoomsLists, Office365Outlook.GetRoomListsV2().value)

Then I loop through each roomlist and get the rooms:
ForAll(RoomsLists, Collect(AllRooms, Office365Outlook.GetRoomsInRoomListV2(address).value)))

And when I do this I get the rooms I need but the performance is pretty poor so I'm looking for a better way to do it if it's possible.

Thank you,

1 REPLY 1
BCLS776
Super User
Super User

The Office365Outlook connector does not offer the ability to query by room name, but it is possible to do this using the MS Graph API

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,298)