entra-external-id

entra-external-id is a skill for Claude Code, Codex from vinayaklatthe/microsoft-security-skills. It costs 248 tokens per session (2,206 once invoked), scanned A, original, MIT.

Microsoft Entra External ID is a Microsoft identity service for people outside an organization's workforce. It supports customer sign-in for public apps and controlled access for business partners and guest users.

In plain words
What is it for?
Use it to create customer sign-up and sign-in flows, support email or social login, invite and govern partner guests, apply branding, and configure access between partner organizations.
Why use it?
It separates customer or partner access from employee identity management while keeping access rules in Microsoft's identity platform. It is also the newer option for customer identity scenarios that previously used Azure AD B2C.

Skill for Claude CodeCodex

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

Good fit Use it to create customer sign-up and sign-in flows, support email or social login, invite and govern partner guests, apply branding, and configure access between partner organizations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vinayaklatthe/microsoft-security-skills/entra-external-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 vinayaklatthe/microsoft-security-skills --skill entra-external-id
Clone the repo
git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills

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-external-id

README.md
[![agentmods](https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/entra-external-id/github.svg)](https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/entra-external-id)
Your own site
<a href="https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/entra-external-id"><img src="https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/entra-external-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 entra-external-id

Your own site · 80×15
<a href="https://agentmods.dev/skills/vinayaklatthe/microsoft-security-skills/entra-external-id"><img src="https://agentmods.dev/badge/skills/vinayaklatthe/microsoft-security-skills/entra-external-id.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 248 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,206 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.00248 $0.02206
Opus 5 $0.00124 $0.01103
Sonnet 5 $0.00050 $0.00441
Haiku 4.5 $0.00025 $0.00221

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

Security

Grade A, and why

entra-external-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/entra-external-id/SKILL.md · 162 lines

How it starts

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

Microsoft Entra External ID

Entra External ID is Microsoft's unified platform for identities outside your workforce:

  • Customer identity (CIAM) in a dedicated external tenant — successor to Azure AD B2C for new deployments.
  • Business partner collaboration (B2B) in your workforce tenant — guests, B2B direct connect, cross-tenant access settings.

Both are managed in the same admin surface and use the same Conditional Access engine.

When to use

  • Authenticating customers / consumers into your apps with social or email sign-up.
  • Replacing Azure AD B2C (Microsoft's stated path for new CIAM deployments).
  • Inviting and governing external partners as B2B guests with Conditional Access.
  • Configuring cross-tenant access for federated partner organizations.

Do not use this skill for employee identity (entra-id), workforce lifecycle governance (entra-id-governance), or workforce CA policy authoring (conditional-access-mfa).

External tenant vs workforce tenant — choose first

Scenario Tenant type
Public-facing consumer app, social/email sign-up, custom-branded sign-in External tenant (CIAM)
Partner companies' employees collaborating in Teams/SharePoint/Apps Workforce tenant (B2B guests, cross-tenant access)
Both Separate external tenant + your existing workforce tenant

Rule of thumb: never mix customers and employees in the same workforce tenant — licensing, branding, lifecycle, and CA scoping all diverge fast.

Approach

External tenant (CIAM)

  1. Create the external tenant (separate from your workforce tenant). Pick region; data residency is tenant-fixed.

  2. Register your customer app in the external tenant. SDKs: MSAL for web/SPA/mobile, plus native integrations.

  3. Author user flows. Built-in flows cover the common cases: sign-up/sign-in, password reset, profile edit. Configure:

    • Identity providers (email + password, email OTP, Google, Facebook, Apple, generic OIDC, SAML).
    • Passkey support (preview/GA per region) — passwordless from day one.
    • Custom attributes you want to collect.
    • Branding (logo, colors, custom CSS/HTML for sign-in page).

Read the full file on GitHub · 162 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 · 162 lines · 248 tokens per session scan A 922f39a21821

Subscribe to this mod's changes

entra-external-id is a skill published in the GitHub repository vinayaklatthe/microsoft-security-skills (173 stars, last pushed 2mo ago), licensed MIT. It adds 248 tokens to every session and 2,206 once invoked, about $0.0012 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

power-automate

Use when operating Microsoft Power Automate cloud flows from code — create, enable, update, list or delete via the Dataverse Web API (workflow table, category 5) with Entra ID OAuth2, plus run-history debugging. NOT designing the flow definition (that is automation-flows), NOT picking a platform by billing model (that…

ericrisco/rsc-harness · 82 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

generate-run-commands

Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.

microsoft/vscode · 36 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

skill-writing-plans

Create zero-context implementation plans with bite-sized tasks — use for multi-step feature planning.

nyldn/claude-octopus · 21 tokens

bf-to-agents-sdk-dotnet-migration

Use when migrating a Bot Framework .NET SDK bot to Microsoft 365 Agents SDK. Triggered by projects that depend on packages: Microsoft.Bot.Builder or Microsoft.Bot.Builder.Integration.AspNet.Core that want to migrate to Agents SDK.

microsoft/Agents · 56 tokens