You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jared Palmer shared mogcli, an unofficial agent-friendly Microsoft 365 CLI that credits @steipete’s gOGcli and exposes Mail, Calendar, Contacts, Groups, Tasks, and OneDrive commands for both MSA and Entra ID accounts.
The tool ships Go binaries plus interactive mog auth/mog auth app wizards and support for delegated and app-only flows, making it feel more approachable than the raw Graph APIs we usually research.
Why it matters
We keep track of lightweight CLIs that grant scriptable access to Microsoft 365 workloads so we can plug them into automations or replacements for “Google Workspace CLI” style integrations.
Mogcli already documents JSON/plain output, progressive consent scopes, dry-run modes, and profile switching, so it might solve our need to run authenticated mail/calendar/todo operations without a heavyweight SDK.
Proposed next step
Install or build mogcli, run through the auth wizard, and enumerate the workloads to check if its commands and authentication schemes line up with the automations we want to script from the homelab.
Context
mog auth/mog auth appwizards and support for delegated and app-only flows, making it feel more approachable than the raw Graph APIs we usually research.Why it matters
Proposed next step
Research links