cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SwellTraining
Level: Powered On

Outlook Office 365 - Retrieving strange meeting slots from 'FindMeetingTimes'

Hi guys,

 

I am currently working for a client who asked me to create an app which will allow him to book different rooms in his company (there's already a default app which does that, but I need to mix some other features). The problem I am having is that I cannot find a way (even copying from the 'Book a room' app) in which I can get the function to retrieve the correct slots.

 

As you can see from the image attached to this post, I created a simple collection with one attendee (my email address), one resource attendee (room's address), the start and date time (that should include every period within the day), and the duration. However, when I ClearCollect it, the only retrieved values go from 11pm to midnight the previous day, and 3pm to 4.30pm of the targeted day. If I change the start date minutes' value in my function (from 0 to, say, 180, but any other value retrieves the same), it will change to start from 3pm to 5.30pm. I would appreciate any idea about which may be causing this problem.

 

If not possible, is there a way to work around this problem? Something like get the room's calendar, break it into X periods, and filter out when status = "busy"?

 

Thank you very much in advance!

2 REPLIES 2
Lisabel0
Level 8

Re: Outlook Office 365 - Retrieving strange meeting slots from 'FindMeetingTimes'

Highlighted
SwellTraining
Level: Powered On

Re: Outlook Office 365 - Retrieving strange meeting slots from 'FindMeetingTimes'

Thank you Lisabel, but it doesn't help to solve my problem. My question is not so much related with posting calendar events at the correct times (I can do it if I enforce start/endtime on my function). I want the users to know when a room is available for any period of the day, so the need for the FindMeetingTimes to function correctly.

 

In any case, I found a way to work around it, although still not solving the problem. I found a combination in time range (similar to what we have in 'Meeting Capture' app) that allows be to see a wider set of values. I chose to start the range at 3am and to end at 11.30pm and, for some odd reason, it gives me a list of meetingslots that goes from 8am to 11.30pm. I also tried the 'Meeting Capture' app to evaluate its behaviour with this function, and it had the same problem of retrieving a random limited set of values.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 398 members 6,237 guests
Please welcome our newest community members: