Hi @BKGOUD ,
Sequence() function generates a sequence collection starts from 1, so the start and end parameter is based on the StartDate and sequence value of the current loop.
Clear(ConflictsRooms);
ForAll(
Sequence(DateDiff(StartDate, EndDate, Days)),
Collect(
ConflictsRooms,
Office365.FindMeetingTimes(
{
RequiredAttendees: AllRoomsConnector,
IsOrganizerOptional: true,
Start: DateAdd(StartDate, Value-1),
End: DateAdd(StartDate, Value),
MeetingDuration: 60,
MinimumAttendeePercentage: "1",
ActivityDomain: "Unrestricted"
}
)
);
)
Hope this helps.
Sik