/inforcer:tenant-managementfrom inforcer
Lists managed Microsoft 365 tenants in Inforcer and resolves friendly names, DNS domains, or Azure AD GUIDs to integer Client Tenant IDs. The starting point for tenant-scoped Inforcer workflows.
Ships in inforcer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Tenants are the top-level scope in Inforcer. Alignment, secure score, identity inventory, audit, and assessment calls are all scoped to a single managed tenant. Knowing how to enumerate tenants and resolve a friendly name to its integer Client Tenant ID is the first step in almost every Inforcer workflow.
Read api-patterns first for the gateway headers, the region requirement, the envelope, and pagination.
tenantFilter. An identifier from one will
not work in the other, and the two portfolios can legitimately
differ. Use cipp-tenants.blackpoint-multi-tenant-operations or
blumira-msp.inforcer_tenants_listList every Microsoft 365 tenant Inforcer manages. Returns tenant objects including the integer Client Tenant ID, display name, the default/primary domain, and (where present) the Azure AD tenant GUID.
inforcer_tenants_list()
Use this whenever a user refers to a client by name — the response is
how you resolve that name to the integer Client Tenant ID needed by
every tenant-scoped tool. Page through continuationToken until it is
absent so the list is complete.
Inforcer's tenant-scoped paths take an integer Client Tenant ID — not the Azure AD GUID and not the domain.
| Identifier | Use directly in a tenant path? |
|---|---|
Integer Client Tenant ID (e.g. 1423) | Yes |
Azure AD tenant GUID (00000000-…) | No — resolve first |
Tenant domain (contoso.onmicrosoft.com) | No — resolve first |
Friendly display name (Contoso) | No — resolve first |
The MCP server resolves friendly names, DNS domains, and Azure AD GUIDs
to the integer Client Tenant ID for you. You can therefore say "scope to
Contoso" — but under the hood the path is the integer id. When a
tenant-scoped call returns nothing, the usual cause is a GUID or domain
that never got mapped to the integer id. Re-run inforcer_tenants_list
and confirm the resolution. Never guess the tenant identifier.
Every Inforcer call depends on INFORCER_REGION (us, uk, eu, or
anz) because the upstream host is region-specific. If
inforcer_tenants_list returns empty or 401/403, confirm the region
matches the region your API key belongs to before assuming the tenant
list is genuinely empty.
Resolve a friendly name → Client Tenant ID
tenants = inforcer_tenants_list()
acme = next(t for t in tenants if 'acme' in t['displayName'].lower())
client_tenant_id = acme['clientTenantId'] # integer
Pass client_tenant_id to alignment, secure score, identity, audit,
and assessment tools.
Build a portfolio loop
List once, then iterate every tenant's integer Client Tenant ID for
fleet-wide reports (drift roll-ups, posture scorecards). Always page
continuationToken to completion first — a partial tenant list silently
drops clients from the report.
INFORCER_REGION
points at the wrong host) or a key with no tenant scope. Confirm region
and key scope before concluding there are no managed tenants.inforcer_tenants_list.clientTenantId are illustrative and credited to
royklo/InforcerCommunity.
Verify the exact field on first use.What SKILL.md sets; muted values are Claude Code's defaults
When listing managed M365 tenants with Inforcer, resolving a tenant identifier, or scoping an operation to a specific tenant. Use when: inforcer tenant, list tenants, managed tenants, client tenant id, resolve tenant, which tenants, m365 tenant inforcer, or msp tenant portfolio.
Three short reads, in order
7 skills in this plugin
/api-patternsInforcer API PatternsInforcer MCP fundamentals: the gateway X-Inforcer-Region / X-Inforcer-Api-Key headers, the region-based base URL and upstream Inf-Api-Key header, the /beta/ route prefix, the {success,message,errors,data} response envelope, continuationToken pagination, and the integer Client Tenant ID vs Azure AD GUID gotcha. Every other Inforcer skill assumes these patterns.
/assessmentsInforcer AssessmentsInforcer assessments: listing a tenant's assessments (read-only) and triggering an assessment run — the one mutating action in the entire Inforcer surface. Covers what a run refreshes (the data behind alignment, secure score, and drift), its tenant-scoping, and the confirmation discipline it requires.
/audit-eventsInforcer Audit Eventsnpx claudepluginhub wyre-ai/msp-claude-plugins --plugin inforcerOther plugins' skills for the same job