Agent skill · software engineering · borghei
ms365-tenant-manager
Microsoft 365 tenant administration for Global Administrators. Use for tenant setup, Azure AD user management, Exchange Online and Teams config, Conditional Access policies, license management, and PowerShell bulk-operation scripts.
Why this skill is useful
Adds multiple executable PowerShell scripts for tenant management and security audits that automate complex administrative tasks not easily inferred by the AI.
What it needs
Requires python installed locally. Requires microsoft-365 account access. About 4k tokens when loaded. Last updated 2026-07-21. 462 stars on the source repository.
What this skill does
Microsoft 365 Tenant Manager The agent generates production-ready PowerShell scripts for M365 tenant setup, bulk user provisioning, Conditional Access policies, security audits, and license management. It automates user lifecycle operations (onboarding, offboarding), recommends license SKUs by role, and produces 7-category security audit reports via Microsoft Graph. Core Capabilities Tenant lifecycle — setup checklists, domain verification, DNS record generation, security baseline, and PowerShell setup scripts for Exchange, SharePoint, Teams. User lifecycle automation — bulk provisioning from CSV, secure 11-step offboarding, license recommendations by role/department, group membership suggestions, data validation. Security & compliance — Conditional Access policy generation (report-only first), MFA enforcement, and 7-category security audits (MFA, admin roles, inactive users, guests, licenses, mailbox delegations, CA policies). License management — SKU recommendations and distribution/cost estimates adjusted for GDPR/HIPAA compliance requirements. PowerShell generation — Microsoft Graph-based scripts with error handling, logging, and -WhatIf support. When to Use New tenant setup — generate phased checklist, DNS records, and baseline scripts. Security hardening — run audits and stand up Conditional Access / MFA policies. Bulk user provisioning or secure offboarding. License planning and quarterly utilization review. Clarify First Before generating scripts, confirm these inputs. If any is unknown or vague, ASK — do not assume: [ ] Task — tenant setup, security audit/hardening, bulk provisioning, or offboarding (selects tenantsetup.py vs powershellgenerator.py vs usermanagement.py) [ ] Tenant inputs — the domain, the user CSV, or the role/department data (the input the modules consume) [ ] Compliance regime — GDPR/HIPAA or none (adjusts license SKU recommendations and the security baseline) Stop rule: ask only the 2-3 that most change the output. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills borghei/ms365-tenant-manager