Microsoft Graph API for Openclaw

A comprehensive integration for AI agents to interact with Microsoft 365 services including Outlook, OneDrive, and Azure AD.

gora050
v1.0.2
May 1, 2026
0
503
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install microsoft-graph-api

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install microsoft-graph-api using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Microsoft Graph API?

The Microsoft Graph API skill provides a gateway for AI agents to access Microsoft Cloud service resources seamlessly. By utilizing this integration within Openclaw Skills, developers can bridge the gap between their agents and Microsoft 365 tools like Outlook, OneDrive, and Azure AD. This skill simplifies the development process by providing a unified endpoint and offloading complex authentication tasks to the Membrane CLI, which manages token refreshing and secure connections automatically.

Built to handle the intricacies of Microsoft's RESTful web API, this skill allows for deep integration into enterprise workflows. Whether you are managing organizational data or personal productivity tools, this skill ensures that your agent has the context and connectivity required to perform complex tasks across the Microsoft ecosystem without manual auth plumbing.

Microsoft Graph API Use Cases

  • Automating administrative tasks in Outlook such as reading emails, managing folders, or creating calendar events.
  • Managing cloud storage by programmatically uploading, downloading, or setting permissions on OneDrive files.
  • Querying organizational data and managing user groups within Azure Active Directory for automated onboarding.
  • Creating cross-platform workflows that synchronize data between Microsoft 365 services and other Openclaw Skills enabled tools.

How Microsoft Graph API Works

  1. Install the Membrane CLI to facilitate the communication between your agent environment and the Microsoft Cloud.
  2. Authenticate your session using the login command, which supports both interactive browser-based login and headless environment codes.
  3. Establish a secure connection to the Microsoft Graph API through an automated discovery process that handles app creation and connector building.
  4. Search for specific actions using natural language intents to find the most efficient pre-built tools for your task.
  5. Execute actions with JSON parameters or use the proxy request feature to talk directly to any Microsoft Graph endpoint with automatic header injection.

Microsoft Graph API Setup

To get started with this skill, first install the Membrane CLI globally:

npm install -g @membranehq/cli@latest

Next, authenticate your agent session specifically for Openclaw Skills usage:

membrane login --tenant --clientName=openclaw

Finally, ensure a connection is established to the Microsoft Graph API:

membrane connection ensure "" --json

Microsoft Graph API Data Schema & Taxonomy

The skill organizes data according to the standard Microsoft Graph resource hierarchy, providing access to structured metadata for various cloud objects:

  • User Resources: Access to mailbox settings, calendars, contacts, and profile data.
  • Drive Resources: Access to drive items, files, and specific permission levels.
  • Group Resources: Access to organizational groups and membership details.
Resource Type Description Key Metadata
Calendar Outlook event schedules event_id, startTime, location
DriveItem OneDrive or SharePoint files item_id, size, webUrl
UserProfile Azure AD user details user_id, mail, jobTitle
Group AD security or M365 groups group_id, displayName

Microsoft Graph API Advanced Features

  • Intelligent action discovery that uses natural language to find the correct API endpoint for any user intent.
  • Full support for headless authentication workflows, making it ideal for server-side Openclaw Skills deployments.
  • Transparent credential management that automatically refreshes OAuth tokens without interrupting agent workflows.
  • Flexible proxy request capability allowing agents to access the entire Microsoft Graph API surface, including beta endpoints.
  • JSON-optimized output for all CLI commands to ensure high compatibility with AI agent parsing logic.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*