LaunchKit · 2026
Back to Skills

microsoft365

Microsoft 365 integration for Outlook, Calendar, Contacts, and OneDrive via Microsoft Graph API.

0
622 downloads
by @robert-janssen

Setup & Installation

openclaw skills install @robert-janssen/microsoft365

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install microsoft365

Version History

v1.0.2Feb 19, 2026 - Version note by skill developer:

Fixed security scanner issues: updated metadata to declare env vars and removed debug logging of ClientID

What This Skill Does

Connects to Microsoft 365 services, including Outlook email, Calendar, Contacts, and OneDrive, through the Microsoft Graph API. Authentication uses Device Code Flow, which works in terminal environments without a browser-based OAuth redirect. Multiple named accounts can be configured and switched with a flag.

Device Code Flow lets you authenticate in headless or restricted environments where a browser redirect is not available.

When to use it

  • Reading unread Outlook emails from the command line
  • Fetching today's calendar events before a meeting
  • Looking up a contact's phone or email in Microsoft 365
  • Listing OneDrive files without opening a browser
  • Creating calendar events from an automated script

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: What meetings do I have today?

AGENT
  1. 1Run node index.js --account personal --calendar
  2. 2Authenticate via Device Code Flow if the cached token is expired
  3. 3Request calendar events from the Microsoft Graph API
  4. 4Filter and format events for the current day
OUTPUT

A list of today's calendar events with titles, start times, and locations

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

MICROSOFT_CLIENT_ID environment variableMICROSOFT_TENANT_ID environment variableAzure app registration with Public Client Flow and Device Code Flow enabledMicrosoft 365 account