microsoft365

Integrate Microsoft 365 services via Device Code Flow for Graph API access.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Kushtrvedi/openclaw-standard --skill microsoft365
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: microsoft365
Source: https://github.com/Kushtrvedi/openclaw-standard/tree/main/skills/microsoft365
Command: npx skills add https://github.com/Kushtrvedi/openclaw-standard --skill microsoft365

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Microsoft 365 services can be integrated locally without external proxies, enabling offline token management and direct Graph API calls from your OpenClaw setup.

Core Features & Use Cases

  • Read and send emails via Graph API.
  • Fetch calendar events and manage contacts.
  • Access OneDrive files and navigate drive contents.

Quick Start

Run node index.js --account <name> to start the integration and follow the device login prompts.

Frequently Asked Questions about microsoft365

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate Microsoft Graph API locally using device code flow?

You can authenticate Microsoft Graph API locally by running the CLI with an account name and following the device login prompts. This device code flow enables direct access to Outlook, Calendar, and OneDrive without external proxies.

Can I manage Outlook emails and calendar events directly from my local setup?

Yes, you can manage Outlook emails and calendar events directly from your local setup. The integration uses Microsoft Graph API to read, send emails, and fetch calendar events with persisted offline tokens.

Do I need a registered Azure application to access OneDrive files locally?

Yes, you need a registered Azure application with Device Code Flow enabled to access OneDrive files locally. You must provide your application credentials via config files or environment variables for authentication.

How does offline token persistence work for local Microsoft 365 access?

Offline token persistence stores your authentication tokens locally, allowing continuous access to Microsoft 365 services. This enables direct Graph API calls for OneDrive navigation and contact management without repeated logins.

What is the best way to integrate personal and organizational Microsoft 365 accounts?

The best way to integrate personal and organizational accounts is through a local CLI supporting device code flow. It allows interactive account selection and applies token persistence to manage both account types seamlessly.

Why does local Microsoft 365 integration require config files or environment variables?

Local Microsoft 365 integration requires config files or environment variables to securely supply your registered Azure application credentials. This setup ensures the device code flow can authenticate your session for Graph API access.