Auto-Decline Meetings scheduled in non-business hours

Occasional Visitor


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. 

2 Replies

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.