m365-powershell

Automate Microsoft 365 administration tasks using PowerShell modules.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Scheune10-coding/my-claude-code-skills --skill m365-powershell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: m365-powershell
Source: https://github.com/Scheune10-coding/my-claude-code-skills/tree/main/m365-powershell
Command: npx skills add https://github.com/Scheune10-coding/my-claude-code-skills --skill m365-powershell

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Administrators often juggle complex Microsoft 365 tasks across Graph, Exchange Online, and Teams. This Skill provides a structured PowerShell-driven workflow to manage users, groups, licenses, mailboxes, and Teams provisioning in a repeatable, auditable way.

Core Features & Use Cases

  • Unified Microsoft 365 administration: Manage users, groups, licenses, mailboxes, and Teams from a single automation surface.
  • Module-aware workflows: Prefer Graph for identity tasks, ExchangeOnlineManagement for mailbox work, and MicrosoftTeams for team operations.
  • Use Case: Provision a new user with a license and add them to a team within a compliant automation runbook.

Quick Start

Run a guided PowerShell session to manage Microsoft 365 tasks using Graph, ExchangeOnlineManagement, and Teams modules.

Frequently Asked Questions about m365-powershell

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

FAQPage Schema
How do I automate Microsoft 365 user provisioning and license assignment with PowerShell?

Automating Microsoft 365 user provisioning and license assignment uses structured PowerShell workflows that orchestrate Graph and ExchangeOnlineManagement modules to manage identities and apply licenses in a repeatable way.

Can I manage Exchange Online mailboxes and Microsoft Teams using a single PowerShell script?

Yes, managing Exchange Online mailboxes and Teams in a single script is possible by leveraging module-aware workflows that use ExchangeOnlineManagement for mailbox tasks and MicrosoftTeams v5 for team operations.

Does this approach support app-only authentication for Microsoft Graph and Exchange Online?

Yes, app-only authentication is supported alongside interactive logins for both Graph and ExchangeOnlineManagement, following best practices for least privilege and secure credential handling during automation.

What is the best way to manage Azure AD groups and Teams provisioning in an auditable runbook?

The best way to manage Azure AD groups and Teams provisioning auditably is using a unified PowerShell automation surface that prefers Graph for identity tasks and MicrosoftTeams for compliant, repeatable team operations.

Do I need separate modules for Microsoft 365 administration tasks like mailbox and group management?

You need the Graph, ExchangeOnlineManagement, and MicrosoftTeams modules. This Skill orchestrates them based on the task, preferring Graph for groups, ExchangeOnlineManagement for mailboxes, and Teams for provisioning.