Skip to content

feat(ai): Add SharePoint Embedded agent skills for autonomous setup#216

Open
gnjoseph wants to merge 1 commit intomainfrom
feature/spe-agent-skills
Open

feat(ai): Add SharePoint Embedded agent skills for autonomous setup#216
gnjoseph wants to merge 1 commit intomainfrom
feature/spe-agent-skills

Conversation

@gnjoseph
Copy link
Copy Markdown
Collaborator

@gnjoseph gnjoseph commented Apr 22, 2026

Summary

Agent Skills package (agentskills.io spec) for autonomous SharePoint Embedded setup. Two user interactions (az login + browser sign-in), zero portal visits, zero secrets.

What it does

  1. Azure CLI login
  2. Entra app registration (public client, SPE permissions)
  3. Interactive browser auth (auth code + PKCE)
  4. Container type + tenant registration
  5. Container + proof file + preview link

Usage

Agent:

Read AI/skills/full-setup/SKILL.md and set up SPE on my tenant

Manual:

cd AI/skills/full-setup
.\spe-setup.ps1

Prerequisites

Azure CLI, PowerShell 5.1+, tenant admin access

Adds an Agent Skills package (agentskills.io spec) that enables AI coding agents
to set up a complete SharePoint Embedded environment autonomously.

What it does (Steps 1-5):
1. Azure CLI login (interactive browser)
2. Entra app registration with SPE permissions (public client, no secrets)
3. SPE token via interactive browser login (auth code + PKCE, device code fallback)
4. Container type creation + tenant registration
5. Container creation, activation, proof file upload, preview link

Security:
- Interactive auth (auth code + PKCE) as primary flow, not device code
- BYO App validates public client before auth
- Read-Host confirmation before all delete operations
- ExecutionPolicy consent check before running
- v1.0 Graph API endpoints where available (beta-only endpoints documented)

Usage:
  Give an AI agent: 'Read AI/skills/full-setup/SKILL.md and set up SPE on my tenant'
  Or run manually: cd AI/skills/full-setup && .\spe-setup.ps1

Prerequisites: Azure CLI, PowerShell 5.1+, tenant admin access
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant