SharePoint and OneDrive for Openclaw

A comprehensive SharePoint and OneDrive integration for enterprise AI workflows, powered by Microsoft Graph and managed ClawLink OAuth.

hith3sh
v1.0.5
Jun 9, 2026
27
791
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install sharepoint-sites

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 sharepoint-sites 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 SharePoint and OneDrive?

This skill establishes a secure bridge between your AI agent and the Microsoft 365 ecosystem, unlocking full access to SharePoint and OneDrive. Managed seamlessly via ClawLink, it handles complex authentication pathways automatically, allowing developer teams to avoid manual Entra ID application registrations. This makes it one of the most practical Openclaw Skills for enterprise information retrieval and workspace automation.

By leveraging the Microsoft Graph API, your AI agent gains native capabilities to inspect document libraries, process file uploads or downloads, organize folder directory structures, and manage custom lists. It is engineered to respect the user's native Microsoft access boundaries, ensuring safe and governed interactions with corporate data.

SharePoint and OneDrive Use Cases

  • Enterprise Document Handling: Download, upload, check-in, check-out, and track version history for files in corporate document libraries automatically.
  • Intranet Search & Discovery: Use Keyword Query Language to perform security-trimmed enterprise searches across sites and modern pages.
  • Dynamic List Synchronization: Insert, update, or soft-delete list items for project tracking, task management, or data pipelines.
  • Access Control Management: Break permission inheritance on files or lists and assign customized, unique user access roles dynamically.

How SharePoint and OneDrive Works

  1. Plugin Activation: Install the unified ClawLink plugin directly inside your terminal workspace.
  2. Handshake Pairing: Bind your local Openclaw instance using the secure device connection commands.
  3. OAuth Handshake: Authenticate via the ClawLink dashboard to safely link your Microsoft SharePoint and OneDrive credentials.
  4. Tool Discovery: Retrieve active capabilities via Openclaw Skills live tool integration schemas.
  5. Execution Loop: Execute read queries natively, and process explicit confirmation steps before running any state-altering or destructive write operations.

SharePoint and OneDrive Setup

To enable the SharePoint integration, execute the following commands in your terminal:

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '[\"clawlink-plugin\"]' --strict-json
openclaw gateway restart

Once completed, guide your user to initialize a new session and connect their account:

  1. Run clawlink_begin_pairing to register your pairing code.
  2. Open https://claw-link.dev/dashboard?add=sharepoint in your browser to sign in via Microsoft OAuth.
  3. Verify the connection state by running clawlink_list_integrations.

SharePoint and OneDrive Data Schema & Taxonomy

The skill manages assets and records following the native Microsoft Graph hierarchy, structuring data elements as follows:

Scope Key Field Description
Site Collections site_id Root organization collection context metadata.
Webs (Subsites) web_id Sub-sites configured under the primary collection.
Drives / Libraries drive_id Document storage drives and general library paths.
Drive Items item_id / Path Individual files and folders (e.g., /Shared Documents/Reports).
Lists list_id (GUID) Structured database tables containing custom column arrays.
List Items item_id (Integer) Data rows evaluated with ETag concurrency tokens.
Roles & Users role_definition_id Unique permission definitions resolved dynamically per site.

Data Protocols

  • Path Formatting: Use relative paths starting with a leading slash (e.g., /Shared Documents/Folder).
  • GUID Precision: Use system GUIDs rather than list titles to prevent data collisions during targeting actions.

SharePoint and OneDrive Advanced Features

  • Granular Access Control: Programmatically break inherited permissions on lists or documents to apply unique role definitions dynamically.
  • Webhook Subscriptions: Monitor file or list updates remotely by querying existing webhook subscription endpoints.
  • Modern Page Rendering: Parse the structured web-part blocks and canvas layouts of modern SharePoint page layouts directly.
  • Asset Analytics Audits: Query drive item view counts, unique viewer logs, and historical access statistics to track asset interactions.
  • Recycle Bin Operations: Inspect, soft-delete, or permanently purge items from the Recycle Bin using native Openclaw Skills command tools.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*