ms365-tenant-manager

Automates Microsoft 365 tenant setup, user provisioning, licensing, and security policies via PowerShell.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/Fantasia1999/claude-skills-zh --skill ms365-tenant-manager-fantasia1999
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ms365-tenant-manager
Source: https://github.com/Fantasia1999/claude-skills-zh/tree/main/translations/engineering-team/ms365-tenant-manager
Command: npx skills add https://github.com/Fantasia1999/claude-skills-zh --skill ms365-tenant-manager-fantasia1999

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Microsoft.Graph, ExchangeOnlineManagement, MicrosoftTeams, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill empowers Microsoft 365 global administrators to automate complex tenant setup, user management, security policy enforcement, and ongoing operational tasks, reducing manual effort and potential errors.

Core Features & Use Cases

  • Automated Tenant Configuration: Streamlines the initial setup of new M365 tenants.
  • User Lifecycle Management: Automates user provisioning, licensing, and deprovisioning.
  • Security Hardening: Implements essential security policies like MFA and conditional access.
  • Use Case: A company is onboarding 50 new employees. This Skill can automate the creation of their user accounts, assign the correct licenses, and configure their initial security settings based on a CSV file.

Quick Start

Run the security audit to export conditional access policies and identify users without MFA.

Frequently Asked Questions about ms365-tenant-manager

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

FAQPage Schema
How do I automate M365 user provisioning and license assignment in bulk?

This Skill automates M365 user provisioning by using PowerShell scripts to process a CSV file, create user accounts, and assign the correct licenses automatically.

What is the best way to enforce MFA and conditional access policies across an Azure AD tenant?

Enforcing MFA and conditional access policies is achieved by running the security audit script to export existing configurations and identify users without MFA across the Azure AD tenant.

Do I need Microsoft Graph PowerShell modules to manage Exchange Online and Microsoft Teams?

Yes, Microsoft Graph PowerShell modules are required, along with ExchangeOnlineManagement and MicrosoftTeams dependencies, to interact with and manage M365 tenant services.

Can I use PowerShell to streamline the initial setup of a new Microsoft 365 tenant?

Yes, you can use PowerShell to streamline the initial setup of a new Microsoft 365 tenant by automating configuration tasks, which reduces manual effort and potential operational errors.

What are the limitations of automating M365 tenant security hardening with PowerShell?

Automating M365 tenant security hardening with PowerShell is limited by the signed-in administrator's permissions and the available commands within the Microsoft Graph, ExchangeOnlineManagement, and MicrosoftTeams modules.