How to Set Out of Office in Teams, Schedule It, and Remove It Later
This template runs once a day. JavaScript compares today's date with the start and return you set, then calls Microsoft Graph to turn mailbox automatic replies on or off so Teams shows the right status. On the start day it also posts a short message in a Teams channel. Connect Microsoft Teams. Put the Graph token in that JavaScript node.
4s$0.0003