Use cases → Scheduling
Push holiday blocks to all organisation calendars
Use domain-wide delegation to create all-day holiday events across every user’s primary calendar, ensuring company holidays are respected in availability.
| Who it is for | IT administrators automating holiday scheduling across the domain. |
|---|---|
| APIs | Calendar API |
| Typical scopes | calendar |
The problem
Relying on users to subscribe to a shared holiday calendar or manually block time results in inconsistent out-of-office signals. True organisation-wide visibility requires events present on each primary calendar.
How it works
- Use the service account to impersonate each user and access their primary calendar.
- Create an all-day event for the holiday with 'busy' status and mark it as 'out of office' where supported.
- Set the event as non-deletable by attendees to prevent accidental removal.
- Log event IDs and affected users for audit and future removal.
- Repeat for all users in the domain or target group.
What changes
Every user’s free/busy is blocked for holidays, so scheduling systems and external parties see consistent unavailability.
Questions people ask
Can this be targeted to only some users?
Yes, filter the user list before impersonation. You can use group membership or directory attributes to select who receives the block.
Can users remove or edit these events?
You can set the event as created by an external organiser and use extended properties to discourage edits, but technically users can override or delete unless enforced by policy. Audit regularly.
Want this built?
This is a pattern we run in production. We will set up the delegation and build this on top of it — $500 per hour, most of it working the same day.
Talk to us Or read the setup guideRelated use cases
Build a real picture of team availability
Read calendars across the domain to answer who is free, who is overloaded and where the week actually went.
Turn a finished meeting into follow-up automatically
Detect that a meeting happened, pull the notes, and draft the follow-up before anyone opens their laptop.
Turn a booking into a record everywhere it matters
When a meeting is booked, create the record, the folder and the confirmation in one pass.