Skip to main content
subagent Claude Code

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.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-domains@voltagent-subagents
Open on GitHub

What 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-subagents

2Manually: put the files in place

.claude/agents/m365-admin.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

From the same set129

The whole set →
frontend-developer VoltAgent Community Subagent for building complete frontend applications with React 18+, Vue 3+, and Angular 15+. Handles component architecture, state management, testing, and accessibility. Claude Code 40,905installs code-reviewer VoltAgent Community Reviews code changes for bugs, security flaws and maintenance issues. Use it before merging complex work or auditing a project. Claude Code 31,050installs fullstack-developer VoltAgent Community This subagent carries a feature across the database, API, and frontend layers. Use it when one change needs a consistent end-to-end implementation. Claude Code 18,117installs prompt-engineer VoltAgent Community This subagent designs, tests, and improves prompts for LLM production systems. Use it when prompts need evaluation, metrics, or cost tracking. Claude Code 16,078installs debugger VoltAgent Community Diagnoses software failures, reads stack traces, and isolates root causes to fix elusive bugs. Helpful when logs alone do not explain a crash. Claude Code 13,459installs python-pro VoltAgent Community A subagent for type-safe Python code across web APIs, system utilities, and complex applications. Use it when async patterns and broad type coverage matter. Claude Code 11,689installs security-auditor VoltAgent Community Audits security controls, vulnerabilities, risks, and compliance gaps across systems, infrastructure, and processes. Use it when you need documented findings. Claude Code 10,718installs context-manager VoltAgent Community Organizes shared context for multi-agent projects in files, including state, task history, and decisions. Use it when agents need a clear shared workspace. Claude Code 10,638installs

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

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor