m365

Installation
SKILL.md

Microsoft 365 via CLI for Microsoft 365

This skill uses the m365 CLI (CLI for Microsoft 365) to interact with Outlook email and calendar via the Microsoft Graph API. It works cross-platform (macOS, Linux, Windows).

Connection Check

Before doing anything, run these two commands in parallel:

m365 status --output json
m365 connection list --output json

If the active connection already has "authType": "secret", proceed to the task.

If the active connection has a different auth type (e.g. deviceCode), check connection list for an inactive connection with "authType": "secret". If one exists, activate it:

m365 connection use --name "<connection-name>"
Related skills
Installs
57
Repository
pietz/skills
First Seen
Feb 17, 2026