microsoft-entra-id

microsoft-entra-id is a skill for Claude Code, Codex from iblai/government-agents. It costs 40 tokens per session (666 once invoked), scanned A, original, MIT.

A connection to Microsoft Entra ID, Microsoft's cloud system for managing user identities and access. It is used in Microsoft 365 environments for government agencies, including GCC and GCC High.

In plain words
What is it for?
Supporting onboarding and offboarding, reviewing access, checking sign-in and MFA status, and starting supervised password resets or account changes.
Why use it?
It gives agents a way to check account, multi-factor authentication, group, policy, license, and device-compliance information during IT work.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Supporting onboarding and offboarding, reviewing access, checking sign-in and MFA status, and starting supervised password resets or account changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iblai/government-agents/microsoft-entra-id
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add iblai/government-agents --skill microsoft-entra-id
Clone the repo
git clone --depth 1 https://github.com/iblai/government-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for microsoft-entra-id

README.md
[![agentmods](https://agentmods.dev/badge/skills/iblai/government-agents/microsoft-entra-id/github.svg)](https://agentmods.dev/skills/iblai/government-agents/microsoft-entra-id)
Your own site
<a href="https://agentmods.dev/skills/iblai/government-agents/microsoft-entra-id"><img src="https://agentmods.dev/badge/skills/iblai/government-agents/microsoft-entra-id/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for microsoft-entra-id

Your own site · 80×15
<a href="https://agentmods.dev/skills/iblai/government-agents/microsoft-entra-id"><img src="https://agentmods.dev/badge/skills/iblai/government-agents/microsoft-entra-id.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 666 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00666
Opus 5 $0.00020 $0.00333
Sonnet 5 $0.00008 $0.00133
Haiku 4.5 $0.00004 $0.00067

Measured 12d ago against content hash 4dc51ea83433, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

microsoft-entra-id scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/microsoft-entra-id/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Microsoft Entra ID

What it is

Microsoft Entra ID (formerly Azure Active Directory) is the cloud identity and access management platform underpinning Microsoft 365 GCC and GCC High environments used by federal and state agencies. It manages user accounts, group memberships, MFA enrollment, conditional access policies, and device compliance, and serves as the identity provider for most agency SaaS applications.

When to use this skill

  • Looking up a user's account status, last sign-in, department, and license assignments during IT support
  • Checking MFA enrollment and SSPR registration for a specific user
  • Reviewing group memberships and conditional access policy assignments
  • Initiating supervised password-reset workflows (requires approval chain)
  • Provisioning or deprovisioning accounts as part of onboarding/offboarding workflows

Credentials

This skill authenticates using variables from the OpenClaw daemon env file ~/.openclaw/.env (template: .env.example). Required variables:

  • ENTRA_TENANT_ID - Azure AD / Entra tenant ID (GUID)
  • ENTRA_CLIENT_ID - registered app client ID with appropriate MS Graph permissions
  • ENTRA_CLIENT_SECRET - registered app client secret
  • ENTRA_GRAPH_ENDPOINT - Microsoft Graph base URL (GCC High: https://graph.microsoft.us; GCC: https://graph.microsoft.com)

Key operations

  • POST /oauth2/v2.0/token — obtain a client-credentials access token for MS Graph
  • GET /v1.0/users/{userPrincipalName} — retrieve user profile, account status, and last sign-in
  • GET /v1.0/users/{id}/memberOf — list group and role memberships
  • GET /v1.0/users/{id}/authentication/methods — enumerate registered MFA methods
  • GET /v1.0/users/{id}/assignedLicenses — list Microsoft 365 license assignments
  • POST /v1.0/users/{id}/invalidateAllRefreshTokens — revoke all sessions (requires User.ReadWrite.All)
  • PATCH /v1.0/users/{id} — update account properties (requires appropriate write permissions)

Notes

  • GCC High tenants use the graph.microsoft.us endpoint and a separate authority (login.microsoftonline.us); using the commercial endpoint will fail.
  • Write operations (password reset, account enable/disable) require User.ReadWrite.All or a delegated admin role; all writes must go through an approval workflow.
  • Conditional access policies and privileged identity management (PIM) roles control what the service account can perform; coordinate with the agency IAM team.
  • Audit logs for all read/write operations are retained in Entra ID Sign-in and Audit logs for 30 days by default (extend via Log Analytics integration).

Read the full file on GitHub · 40 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 40 lines · 40 tokens per session scan A 4dc51ea83433

Subscribe to this mod's changes

microsoft-entra-id is a skill published in the GitHub repository iblai/government-agents (10 stars, last pushed 3mo ago), licensed MIT. It adds 40 tokens to every session and 666 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

projection-patterns

Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.

wshobson/agents · 36 tokens

workflow-orchestration-patterns

Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constraints. Use when building long-running processes, distributed transactions, or microservice orchestration.

wshobson/agents · 49 tokens