Skip to main content
skill CX Codex

ms365-tenant-manager · borghei — Claude Code skill: what it does, install

ms365-tenant-manager writes PowerShell scripts for Microsoft 365 admins: tenant setup, user onboarding and offboarding, Conditional Access policies and security audits.

LicenseRef-MIT-Commons-Clause 127 installs ★ 1,183 updated 2026-11-08

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add borghei/Claude-Skills --skill ms365-tenant-manager -a claude-code
Open on GitHub

What ms365-tenant-manager does

This skill produces PowerShell scripts built on Microsoft Graph for someone holding the Global Administrator role. It drafts a setup checklist for a new Microsoft 365 tenant, DNS records for the domain, bulk user creation from a CSV, and license suggestions per role or department. Name GDPR or HIPAA and the SKU suggestions shift accordingly.

The logic sits in three importable Python modules, not command-line tools. powershell_generator.py (PowerShellScriptGenerator) handles audits, Conditional Access and license scripts. user_management.py (UserLifecycleManager) covers onboarding and offboarding, and tenant_setup.py (TenantSetupManager) covers the checklist and DNS. Generated scripts log their work, handle errors and accept -WhatIf. The audit spans 7 categories, from MFA and admin roles to guests and mailbox delegations.

Conditional Access policies come out in report-only mode first. Offboarding runs through 11 steps and keeps the mailbox. If your identity setup is hybrid, synced from on-premises AD through AD Connect, this skill won't help. Intune and Power Platform are outside it too.

What it helps with

  • Draft a setup checklist and DNS records for a new Microsoft 365 tenant
  • Create accounts in bulk from a CSV with licenses matched to department
  • Audit a tenant for missing MFA and inactive accounts
  • Generate a Conditional Access policy in report-only mode
  • Offboard a leaver while keeping their mailbox

Example prompts for the agent

  • Use ms365-tenant-manager to build a setup checklist and DNS records for my new tenant
  • Run a security audit of my Microsoft 365 tenant and list users without MFA
  • Offboard a departing employee with ms365-tenant-manager and keep their mailbox

How to install ms365-tenant-manager

1Skills CLI (Vercel)

npx skills add borghei/Claude-Skills --skill ms365-tenant-manager -a claude-code

2Manually: put the files in place

~/.claude/skills/ms365-tenant-manager/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ms365-tenant-manager/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ms365-tenant-manager

How do I install ms365-tenant-manager in Claude Code?

Run npx skills add borghei/Claude-Skills --skill ms365-tenant-manager -a claude-code. The skill ends up at ~/.claude/skills/ms365-tenant-manager/SKILL.md.

What does ms365-tenant-manager do?

It generates PowerShell scripts for Microsoft 365 tenant setup, CSV user provisioning, offboarding, Conditional Access and a 7-category security audit.

Does it cover hybrid AD or Intune?

No. AD Connect sync, Intune, Power Platform administration and third-party SSO or SCIM providers are outside it.

Similar skills

All skills for Cloud: AWS, Azure, GCP →

ms365-tenant-manager by other authors comes first.

ms365-tenant-manager Alireza Rezvani The ms365-tenant-manager skill assists Global Administrators with Microsoft 365 tenant setup, user lifecycle tasks, licensing, Exchange Online, Teams, and security policies. CX Codex +1 783installs ms365-tenant-manager alirezarezvani ms365-tenant-manager — a skill for Microsoft 365 Global Administrators: tenant setup, user management, security policies, and PowerShell automation. CX Codex +1 ★ 907repo stars microsoft-graph markpitt A hub for Microsoft Graph work: eight reference files, shared query parameters and permission rules. Useful when the agent is writing a Microsoft 365 integration. CX Codex +1 263installs Microsoft 365 Admin okapi-ca Microsoft 365 Admin — an MCP server that gives your agent administrative access to Microsoft 365 through Graph API application permissions. Read-only unless you opt in. CX Codex +1 ★ 20repo stars identity-access-management devops-skills identity-access-management — a skill for setting up SSO, SCIM provisioning and MFA through Google Workspace, Okta or Azure AD. Useful once manual onboarding stops keeping up with the team. CX Codex +1 351installs entra-agent-user official github entra-agent-user walks an agent through creating an agent user in Microsoft Entra ID so it can act as a digital worker with a mailbox and Teams presence. CX Codex +1 8,600installs msgraph-sdk official github The msgraph-sdk skill connects Microsoft Graph SDK to .NET, TypeScript/JavaScript, or Python projects. Use it when an app needs Microsoft 365 data. CX Codex +1 57installs auditing-azure-active-directory-configuration mahipal auditing-azure-active-directory-configuration audits Microsoft Entra ID security using Microsoft Graph API, Az CLI, and ScoutSuite. It finds over-privileged roles, Conditional Access gaps, and stale accounts. CX Codex +1 241installs

From the same set120

The whole set →
copywriting copywriting generates conversion-focused marketing copy for landing pages, homepages, and pricing sections using established frameworks. CX Codex +1 131installs confluence-expert confluence-expert is a Claude Code skill that audits and designs Confluence spaces by checking page hierarchy, labels, permissions, ownership and stale content. It runs when building or restructuring a wiki. CX Codex +1 131installs observability-designer The observability-designer Claude Code skill plans service observability through SLI/SLOs, alerts, and Grafana dashboards. Use it to shape monitoring for a service or investigate noisy alerts. CX Codex +1 129installs brand-guidelines brand-guidelines writes a brand guideline from scratch and audits existing material against it: voice, palette, type, logo use. CX Codex +1 127installs migration-architect migration-architect — a skill for Claude Code plans staged migrations for databases, APIs, services, and infrastructure. It checks schema compatibility and prepares rollback steps before cutover. CX Codex +1 126installs soc2-compliance-expert soc2-compliance-expert manages SOC 2 Type I and Type II readiness against Trust Services Criteria, covering control validation and audit evidence collection. CX Codex +1 126installs saas-scaffolder The saas-scaffolder Claude Code skill lays out a Next.js SaaS starter and guides setup for authentication, billing, and tenant separation. Run it when starting a subscription product or multi-tenant app. CX Codex +1 125installs incident-commander incident-commander — a skill for Claude Code guides production incident response: it scores severity, rebuilds timelines, and drafts postmortems. It also runs on Codex, Cursor, and other platforms. CX Codex +1 125installs

Project sponsors

Companies that keep this analytics open