m365-admin

Automate Microsoft 365 administration across Exchange, Teams, SharePoint, and Graph API.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/Canepro/codex-skills --skill m365-admin-canepro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m365-admin
Source: https://github.com/Canepro/codex-skills/tree/main/skills/m365-admin
Command: npx skills add https://github.com/Canepro/codex-skills --skill m365-admin-canepro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @azure/identity, @microsoft/microsoft-graph-client, isomorphic-fetch, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Microsoft 365 administration and automation tasks across Exchange Online, Teams, SharePoint, licensing, and Graph API operations are streamlined, reducing manual toil and risk.

Core Features & Use Cases

  • Automate mailbox management, Teams lifecycle automation, and SharePoint site provisioning
  • License auditing, optimization, and Graph API automation for identity and access
  • Security, compliance configuration, and RBAC-guided automation across Microsoft 365 workloads

Quick Start

Install dependencies and run a sample script to provision a user and configure a Teams team

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 provisioning and mailbox management?

Automate Microsoft 365 user provisioning and mailbox management by running TypeScript and PowerShell scripts that execute Graph API operations for Exchange Online and identity access configuration. RBAC guidance and error handling ensure safe, auditable deployments across enterprise environments.

What is the best way to automate Teams lifecycle and SharePoint site provisioning?

Automate Teams lifecycle and SharePoint site provisioning using Microsoft Graph API calls implemented within TypeScript automation scripts. The process applies RBAC-guided automation to configure security and compliance settings, reducing manual toil and deployment risk.

Can I use this Microsoft Graph API automation for enterprise license auditing and optimization?

Yes, you can use Graph API automation for enterprise license auditing and optimization across Microsoft 365 workloads. The automation scripts handle license auditing and optimization scenarios, applying RBAC guidance to ensure safe and compliant identity and access management.

Do I need Azure Identity and Microsoft Graph Client dependencies for M365 administration automation?

Yes, you need Azure Identity and Microsoft Graph Client dependencies to authenticate and execute Graph API operations for M365 administration automation. These dependencies enable isomorphic-fetch capabilities to automate tasks across Exchange Online, Teams, and SharePoint.

How does RBAC guidance apply to Microsoft 365 Graph API automation scripts?

RBAC guidance applies to Microsoft 365 Graph API automation scripts by enforcing role-based access controls during user provisioning, mailbox management, and security configuration. This ensures safe, auditable deployments and reduces risk across enterprise environments.