agentleFS
soulemikesoulemike/microsoft-skills/skills/sharepoint-online/SKILL.md

sharepoint-online

Skill2 starsChanged 3 months agoMITView on GitHub

SharePoint Online is currently a documented gap in this toolkit. The service requires different tooling for data plane versus management plane operations, and Microsoft Graph provides only partial coverage. SharePoint Online is not a single API surface. Data plane operations (lists, libraries, files, pages) and management plane operations (tenant settings, site provisioning, governance) require different tools and token audiences. SharePoint Online skills are planned for a future iteration. The recommended approach is: 1. Data plane: PnP PowerShell with certificate-based auth…

The file

Files
SKILL.md

SharePoint Online Skill

Overview

SharePoint Online is currently a documented gap in this toolkit. The service requires different tooling for data plane versus management plane operations, and Microsoft Graph provides only partial coverage.

Why This Is a Gap

SharePoint Online is not a single API surface. Data plane operations (lists, libraries, files, pages) and management plane operations (tenant settings, site provisioning, governance) require different tools and token audiences.

Tooling Landscape

PlaneToolBest ForAuthLimitations
DataPnP PowerShellBroadest coverage for site content, lists, libraries, files, pagesCertificate (modern app-only), managed identity, interactiveCommunity-driven (no Microsoft SLA); client secrets not supported for modern app-only
DataMicrosoft GraphStandardized REST across M365; strong typingApp-only or delegated; Sites.Read.All / Sites.FullControl.AllPartial coverage: read-only site resources; no site creation via Graph
DataSharePoint REST APINative SharePoint HTTP endpoints; features missing from GraphSharePoint audience tokenRequires X-RequestDigest for writes
DataCSOMDeep .NET SharePoint-specific behaviorSharePoint audience tokenVerbose; .NET Standard lacks legacy auth
ManagementSharePoint Online Management ShellTenant-level admin operationsSharePoint Administrator role; certificate or managed identityClassic admin tool; limited to supported operations
ManagementPnP PowerShell tenant cmdletsSite provisioning, governance, tenant settingsSame as data plane PnPSame limitations as data plane PnP
ManagementMicrosoft GraphLimited tenant settings automationSharePointTenantSettings.ReadWrite.AllVery limited surface; not full parity with SPO Management Shell

Authentication Requirements

  • Modern unattended automation: Certificate-based auth or managed identity. Client secrets are not supported by PnP PowerShell for modern Entra app-only.
  • PnP PowerShell: Connect-PnPOnline -CertificatePath ... -Tenant ... -ClientId ... or -ManagedIdentity
  • Graph: Standard Entra app-only with Sites.Read.All or Sites.FullControl.All; consider Sites.Selected for least privilege
  • SharePoint REST / CSOM: Requires a SharePoint audience token, not a Graph token
  • ACS / SharePoint Add-in auth: Retired April 2, 2026. Do not use for new automation.

When This Gap Will Be Addressed

SharePoint Online skills are planned for a future iteration. The recommended approach is:

  1. Data plane: PnP PowerShell with certificate-based auth
  2. Management plane: PnP PowerShell tenant cmdlets or SPO Management Shell
  3. Graph: Use only for read-only site metadata where PnP is unnecessary

Related Docs

  • Patterns and Caveats
  • Auth Patterns
  • Environment Endpoints

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.