Hi All,
Is it possible to check the meeting room conflicts by using FindMeetingTimes connector in PowerApps. Can someone please let me know if anyone implement this requirement.
Thanks in advance.
Solved! Go to Solution.
Hi @BKGOUD :
Yes. Use this formula to get all available rooms within a specified time. You only need to check whether the specified Room is in the collection named AvailableRoomEmailName.
ClearCollect(
AllRooms,
Office365Outlook.GetRooms().value
);
Set(
AllRoomsConnector,
Concat(
AllRooms,
Address & ";"
)
);
ClearCollect(
AvailableRooms,
Office365Outlook.FindMeetingTimes(
{
RequiredAttendees: AllRoomsConnector,
Start: DateTimeValue("2020-11-25T09:00:00"), /*Assume that the start time of the meeting is 2020-11-25T 09:00:00*/
End: DateTimeValue("2020-11-25T12:00:00") /*Assume that the end time of the meeting is 2020-11-25T 12:00:00*/
}
)
);
ClearCollect(
AvailableRoomsSorted,
SortByColumns(
First(AvailableRooms).MeetingTimeSuggestions,
"Confidence",
Descending
)
);
ClearCollect(
AvailableRoomsConcat,
Concat(
Filter(
First(AvailableRoomsSorted).AttendeeAvailability,
Availability = "Free"
),
Attendee.EmailAddress.Address,
","
)
);
ClearCollect(
AvailableRoomEmails,
Split(
First(AvailableRoomsConcat).Value,
","
)
);
ClearCollect(
AvailableRoomEmailName,
AddColumns(
RenameColumns(
AvailableRoomEmails,
"Result",
"Email"
),
"Name",
LookUp(
AllRooms,
Email = Address
).Name
)
);
Best Regards,
Bof
Hi @BKGOUD :
Yes. Use this formula to get all available rooms within a specified time. You only need to check whether the specified Room is in the collection named AvailableRoomEmailName.
ClearCollect(
AllRooms,
Office365Outlook.GetRooms().value
);
Set(
AllRoomsConnector,
Concat(
AllRooms,
Address & ";"
)
);
ClearCollect(
AvailableRooms,
Office365Outlook.FindMeetingTimes(
{
RequiredAttendees: AllRoomsConnector,
Start: DateTimeValue("2020-11-25T09:00:00"), /*Assume that the start time of the meeting is 2020-11-25T 09:00:00*/
End: DateTimeValue("2020-11-25T12:00:00") /*Assume that the end time of the meeting is 2020-11-25T 12:00:00*/
}
)
);
ClearCollect(
AvailableRoomsSorted,
SortByColumns(
First(AvailableRooms).MeetingTimeSuggestions,
"Confidence",
Descending
)
);
ClearCollect(
AvailableRoomsConcat,
Concat(
Filter(
First(AvailableRoomsSorted).AttendeeAvailability,
Availability = "Free"
),
Attendee.EmailAddress.Address,
","
)
);
ClearCollect(
AvailableRoomEmails,
Split(
First(AvailableRoomsConcat).Value,
","
)
);
ClearCollect(
AvailableRoomEmailName,
AddColumns(
RenameColumns(
AvailableRoomEmails,
"Result",
"Email"
),
"Name",
LookUp(
AllRooms,
Email = Address
).Name
)
);
Best Regards,
Bof
Hi @v-bofeng-msft,
Thanks for helping me.
I want to create the recurring meeting but before creating the meeting I want to display the conflict dates for selected period. I have tried to get the conflict dates but FindMeetingTimes connector not returning busy rooms. But the same code returning free rooms.
Can you please help me on this.
Hello, here is a question for you about this code, does it solve the problem with the FindMeetingTimes function that does not allow us to select any time slot out of an o'clock hour or a half hour? If so, where do I have to put this code?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
179 | |
94 | |
61 | |
59 | |
58 |
User | Count |
---|---|
254 | |
164 | |
91 | |
79 | |
70 |