Forum Discussion
Auto-Decline Meetings scheduled in non-business hours
Hi,
I am trying to automate a declining meeting which is scheduled in non-business hours. I am using MS Flow and trigger "When a new event is created (V3)" and Action as "Respond to an Event (V2)". in MS Flow.
This works perfectly fine. But I am not able to figure out a way to define non-working hours. Any pointers would help.
3 Replies
- VictorIvanidzeCopper Contributor
There exists a ready-to-use Power Automate flow. Google for "DeclineOffHoursInvite flow for Office 365".
- Victor_IvanidzeBronze Contributor
Hi nadeem1986, you can use the same approach as here: https://www.ivasoft.com/scheduledoofflow.shtml
You can simply enforce the ScheduleOnlyDuringWorkHours setting, but that's only available for room mailboxes. If you want to do it via Flow and such, you have to manually define the working hours and check against them.