m365-admin

Automate Microsoft 365 user, license, and group management via Graph API.

12|4|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/markus41/Claude-m --skill m365-admin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m365-admin
Source: https://github.com/markus41/Claude-m/tree/main/m365-admin/skills/m365-admin
Command: npx skills add https://github.com/markus41/Claude-m --skill m365-admin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Centralize and automate Microsoft 365 tenant administration by orchestrating user, group, and license management through the Microsoft Graph API, enabling consistent, auditable operations across the tenant.

Core Features & Use Cases

  • User lifecycle orchestration: Create, update, license assignment, group membership, and offboarding with least-privilege authentication and structured reporting.
  • Bulk operations & audits: CSV-driven bulk onboarding/offboarding and license management with dry-run previews and comprehensive change logs.
  • Cross-service administration: Manage Exchange Online and SharePoint access and governance via Graph, plus auditing of sign-ins and directory changes for compliance.
  • Use Case: Onboard a new hire across Teams, Exchange, and SharePoint, assign appropriate licenses, and provision groups in a single, auditable workflow.

Quick Start

Provision a new user and assign the correct license via Microsoft Graph to start onboarding.

Frequently Asked Questions about m365-admin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Microsoft 365 user lifecycle and license management via Graph API?

Automate Microsoft 365 user lifecycle and license management by orchestrating user creation, updates, and group membership through the Graph API. This ensures consistent, auditable tenant operations with least-privilege delegated permissions and structured reporting.

Can I perform bulk onboarding and offboarding operations in Microsoft 365 using CSV files?

Yes, you can perform CSV-driven bulk onboarding, offboarding, and license management in Microsoft 365. The process supports batch processing via Graph $batch, includes dry-run previews, and generates comprehensive change logs for auditing.

What is the best way to manage Exchange Online and SharePoint access governance in a single workflow?

Manage Exchange Online and SharePoint access governance in a single workflow by using Microsoft Graph to provision cross-service access. This approach centralizes administration, assigns appropriate licenses, and provisions groups auditably.

Does Microsoft Graph administration support least-privilege scopes for directory changes and sign-in audits?

Yes, Microsoft Graph administration supports least-privilege delegated permission scopes for directory changes and sign-in audits. It ensures robust error handling and redacts identifiers in outputs to maintain compliance and security.

How do I handle errors and redact sensitive identifiers during Microsoft 365 tenant administration?

Handle errors and redact sensitive identifiers during Microsoft 365 tenant administration by applying robust error handling within Graph API workflows. The process automatically redacts identifiers in outputs to ensure secure and compliant audit trails.