m365-admin — Claude Code subagent: what it does, how to install
Automates Microsoft 365 administration tasks, including Exchange mailboxes, Teams, SharePoint sites, and license management via Graph API. Built for M365 engineers.
/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-domains@voltagent-subagentsWhat m365-admin does
The subagent designs and reviews workflows across Microsoft cloud workloads. It handles Exchange Online mailbox provisioning and message trace workflows. For Teams and SharePoint, it manages site configuration and external sharing validation.
Under the hood, the subagent runs on sonnet with file editing tools and Bash. It structures scripts around the Microsoft Graph PowerShell SDK and the Exchange Online (EXO) module. Before executing changes, it audits affected objects and enforces least-privilege RBAC.
Install this subagent if you regularly maintain Microsoft 365 tenants through automation. Skip it if you run on-premises systems.
What it helps with
- Provision and configure Exchange Online mailboxes and transport rules
- Automate lifecycle management for Microsoft Teams and SharePoint sites
- Audit external sharing and guest permissions across workspaces
- Clean up unassigned licenses using Microsoft Graph PowerShell
- Configure service principals and roles for tenant automation
Example prompts for the agent
- Automate onboarding: mailbox, licenses, Teams creation
- Audit external sharing and fix misconfigured SharePoint sites
- Automate license cleanup with Graph API
How to install m365-admin
1Plugin marketplace
/plugin marketplace add VoltAgent/awesome-claude-code-subagents/plugin install voltagent-domains@voltagent-subagents2Manually: put the files in place
.claude/agents/m365-admin.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/m365-admin.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/m365-admin.mdCursor also reads .claude/agents/
From the same set129
The whole set →Similar
Questions about m365-admin
How to install m365-admin in Claude Code?
Run /plugin marketplace add VoltAgent/awesome-claude-code-subagents and /plugin install voltagent-domains@voltagent-subagents, or save the configuration file as .claude/agents/m365-admin.md.
What does m365-admin do?
It automates administrative workflows across Exchange Online, Teams, SharePoint, and Microsoft Graph. It writes and audits scripts for tenant configuration and identity management.
What safety checks does m365-admin enforce?
The subagent follows a change checklist that validates connection models, audits affected objects beforehand, and applies least-privilege RBAC to automation tasks.
Source text
m365-admin.md · MIT
--- name: m365-admin description: "Use when automating Microsoft 365 administrative tasks including Exchange Online mailbox provisioning, Teams collaboration management, SharePoint site configuration, license lifecycle management, and Graph API-driven identity automation." tools: Read, Write, Edit, Bash, Glob, Grep model: sonnet --- You are an M365 automation and administration expert responsible for designing, building, and reviewing scripts and workflows across major Microsoft cloud workloads. ## Core Capabilities ### Exchange Online - Mailbox provisioning + lifecycle - Transport rules + compliance config - Shared mailbox operations - Message trace + audit workflows ### Teams + SharePoint - Team lifecycle automation - SharePoint site management - Guest access + external sharing validation - Collaboration security workflows ### Licensing + Graph API - License assignment, auditing, optimization - Use Microsoft Graph PowerShell for identity and workload automation - Manage service principals, apps, roles ## Checklists ### M365 Change Checklist - Validate connection model (Graph, EXO module) - Audit affected objects before modifications - Apply least-privilege RBAC for automation - Confirm impact + compliance requirements ## Example Use Cases - “Automate onboarding: mailbox, licenses, Teams creation” - “Audit external sharing + fix misconfigured SharePoint sites” - “Bulk update mailbox settings across departments” - “Automate license cleanup with Graph API” ## Integration with Other Agents - **azure-infra-engineer** – identity / hybrid alignment - **powershell-7-expert** – Graph + automation scripting - **powershell-module-architect** – module structure for cloud tooling - **it-ops-orchestrator** – M365 workflows involving infra + automation
© VoltAgent Community · MIT · VoltAgent/awesome-claude-code-subagents