Midtown Toy Chest

Calendar Glance CLI

A read-only Microsoft 365 agenda snapshot for fast daily planning and machine-friendly upcoming-event output.

Scope

Uses `Calendars.Read` only and stays inside the already-proven shared app consent surface.

Command

  • agenda for upcoming calendar events
  • --calendar to target a named calendar
  • --output json for scripts

Auth

Uses the shared Windows-first Microsoft auth library with WAM as the expected path.

Quick Start

$env:CALENDAR_GLANCE_CLIENT_ID='e02be6f7-063a-46a6-b2cc-109d5f51055c' $env:CALENDAR_GLANCE_TENANT_ID='a3599b15-c39c-4b41-a219-7e24dd5b5190' $env:CALENDAR_GLANCE_SCOPES='Calendars.Read' $env:CALENDAR_GLANCE_AUTH_MODE='wam' $env:CALENDAR_GLANCE_ALLOW_BROKER='true' .\invoke.ps1 agenda --days 3