Entra user investigation

Entra user investigation is a skill for Claude Code, Codex from zmustafa/AzureSupportAgent. It costs 26 tokens per session (222 once invoked), scanned A, original, MIT.

A method for creating an evidence-based report about a Microsoft Entra ID user, including account state, permissions, multi-factor authentication, and access policies.

In plain words
What is it for?
It is for checking a user's identity, roles, privileged-access status, MFA setup, Conditional Access policies, and permitted activity.
Why use it?
It separates different kinds of access and policy results so that eligibility, active access, and security protection are not confused.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for checking a user's identity, roles, privileged-access status, MFA setup, Conditional Access policies, and permitted activity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zmustafa/azuresupportagent/entra-user-investigation
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 zmustafa/AzureSupportAgent --skill entra-user-investigation
Clone the repo
git clone --depth 1 https://github.com/zmustafa/AzureSupportAgent

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 Entra user investigation

README.md
[![agentmods](https://agentmods.dev/badge/skills/zmustafa/azuresupportagent/entra-user-investigation/github.svg)](https://agentmods.dev/skills/zmustafa/azuresupportagent/entra-user-investigation)
Your own site
<a href="https://agentmods.dev/skills/zmustafa/azuresupportagent/entra-user-investigation"><img src="https://agentmods.dev/badge/skills/zmustafa/azuresupportagent/entra-user-investigation/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 Entra user investigation

Your own site · 80×15
<a href="https://agentmods.dev/skills/zmustafa/azuresupportagent/entra-user-investigation"><img src="https://agentmods.dev/badge/skills/zmustafa/azuresupportagent/entra-user-investigation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 222 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00026 $0.00222
Opus 5 $0.00013 $0.00111
Sonnet 5 $0.00005 $0.00044
Haiku 4.5 $0.00003 $0.00022

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

Security

Grade A, and why

Entra user investigation 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.

backend/app/agent/skills/entra-user-investigation/SKILL.md · 17 lines

What it actually says

Entra user investigation

  1. Resolve the person unambiguously by UPN or object id; never infer identity from a display-name collision.
  2. Prefer identity_investigate for the cached, audited dossier before issuing low-level Graph calls.
  3. Separate active role assignments, PIM eligibility, and live activations. Eligibility is not standing access.
  4. Report MFA registration coverage separately from a confirmed absence of methods.
  5. Evaluate applicable Conditional Access policy state, exclusions, and grant/session controls.
  6. Read behavioral history only when the caller is authorized for investigate.activity.
  7. State collection freshness, missing permissions, licensing gaps, and sampling/caps.
  8. End with evidence, risk, and proportionate next actions; do not make identity changes unless explicitly requested and approved.
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 · 17 lines · 26 tokens per session scan A be10c26e42ca

Subscribe to this mod's changes

Entra user investigation is a skill published in the GitHub repository zmustafa/AzureSupportAgent (45 stars, last pushed 3d ago), licensed MIT. It adds 26 tokens to every session and 222 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

adding-azure-communication-services-email

Adds transactional email to an Azure web app via Azure Communication Services (ACS) Email — verification emails, password resets, notifications. Encodes the three ACS quirks that consistently break Bicep deploys (location:'global' literal, dataLocation in plain English not Azure region IDs, declare-order to avoid…

alexpizarro/azure-lean-stack-skills · 113 tokens

deploying-fc1-flex-consumption-functions

Deploys standalone Azure Function Apps on Flex Consumption (FC1) for workloads SWA managed functions can't handle — timer triggers, queue triggers, AI workloads, long-running operations. Provisions via ARM REST API or Bicep because az CLI flags silently fall back to deprecated Y1/Dynamic. Includes the…

alexpizarro/azure-lean-stack-skills · 126 tokens

azure-eventgrid-dotnet

Azure Event Grid SDK for .NET. Client library for publishing and consuming events with Azure Event Grid. Use for event-driven architectures, pub/sub messaging, CloudEvents, and EventGridEvents. Triggers: "Event Grid", "EventGridPublisherClient", "CloudEvent", "EventGridEvent", "publish events .NET", "event-driven"…

microsoft/skills · 80 tokens

azure-maps-search-dotnet

Azure Maps SDK for .NET. Location-based services including geocoding, routing, rendering, geolocation, and weather. Use for address search, directions, map tiles, IP geolocation, and weather data. Triggers: "Azure Maps", "MapsSearchClient", "MapsRoutingClient", "MapsRenderingClient", "geocoding .NET", "route…

microsoft/skills · 91 tokens

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens

azure-mgmt-apicenter-dotnet

Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…

microsoft/skills · 97 tokens