building-identity-federation-with-saml-azure-ad

building-identity-federation-with-saml-azure-ad is a skill for Claude Code, Codex from autohandai/community-skills. It costs 50 tokens per session (2,029 once invoked), scanned A, a copy of building-identity-federation-with-saml-azure-ad, Apache-2.0.

A SAML 2.0 identity-federation setup connecting on-premises Active Directory with Microsoft Entra ID, formerly Azure AD. Federation lets users sign in through one identity provider and access cloud applications without separate credentials.

In plain words
What is it for?
It helps configure AD FS or another SAML identity provider, connect it to Entra ID, set up single sign-on for SaaS applications, and prepare certificates and DNS for the federation service.
Why use it?
It reduces the need to maintain separate passwords for on-premises and cloud services. It also supports organisations that need authentication authority to remain on-premises while providing cloud access.

Skill for Claude CodeCodex

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

Good fit It helps configure AD FS or another SAML identity provider, connect it to Entra ID, set up single sign-on for SaaS applications, and prepare certificates and DNS for the federation service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/autohandai/community-skills/building-identity-federation-with-saml-azure-ad
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 autohandai/community-skills --skill building-identity-federation-with-saml-azure-ad
Clone the repo
git clone --depth 1 https://github.com/autohandai/community-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 building-identity-federation-with-saml-azure-ad

README.md
[![agentmods](https://agentmods.dev/badge/skills/autohandai/community-skills/building-identity-federation-with-saml-azure-ad/github.svg)](https://agentmods.dev/skills/autohandai/community-skills/building-identity-federation-with-saml-azure-ad)
Your own site
<a href="https://agentmods.dev/skills/autohandai/community-skills/building-identity-federation-with-saml-azure-ad"><img src="https://agentmods.dev/badge/skills/autohandai/community-skills/building-identity-federation-with-saml-azure-ad/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 building-identity-federation-with-saml-azure-ad

Your own site · 80×15
<a href="https://agentmods.dev/skills/autohandai/community-skills/building-identity-federation-with-saml-azure-ad"><img src="https://agentmods.dev/badge/skills/autohandai/community-skills/building-identity-federation-with-saml-azure-ad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,029 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 91% copy Near-identical to another mod 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.00050 $0.02029
Opus 5 $0.00025 $0.01014
Sonnet 5 $0.00010 $0.00406
Haiku 4.5 $0.00005 $0.00203

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

Security

Grade A, and why

building-identity-federation-with-saml-azure-ad 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 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/agent.py, scripts/process.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

91% identical to building-identity-federation-with-saml-azure-ad — 37 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

building-identity-federation-with-saml-azure-ad/SKILL.md · 211 lines

How it starts

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

Building Identity Federation with SAML Azure AD

Overview

Identity federation enables users authenticated by one identity provider to access resources managed by another without maintaining separate credentials. This skill covers establishing SAML 2.0 federation between an organization's on-premises Active Directory (via AD FS or third-party IdP) and Microsoft Entra ID (formerly Azure AD), as well as configuring federated SSO for third-party SaaS applications. Federation eliminates password synchronization concerns and keeps authentication authority on-premises while extending SSO to cloud resources.

Prerequisites

  • On-premises Active Directory domain
  • AD FS 2019+ or third-party SAML IdP (Okta, Ping, etc.)
  • Microsoft Entra ID tenant (P1 or P2 license recommended)
  • Azure AD Connect (if using hybrid identity with password hash sync as backup)
  • Public TLS certificate for federation endpoint
  • DNS records for federation service name

Core Concepts

Federation Models

Model Authentication Authority Use Case
Federated (AD FS) On-premises AD FS Regulatory requirement to keep auth on-prem
Managed (PHS) Azure AD with password hash sync Simplest cloud auth, AD FS not needed
Managed (PTA) On-premises via pass-through agent Cloud auth validated against on-prem AD
Third-Party Federation External IdP (Okta, Ping) Multi-IdP environment

SAML Federation Architecture

User → Cloud App (SP)
   │
   └── Redirect to Azure AD
          │
          ├── Azure AD checks federated domain
          │
          └── Redirect to on-premises AD FS
                 │
                 ├── AD FS authenticates against Active Directory
                 │
                 ├── AD FS issues SAML token
                 │
                 └── Token posted back to Azure AD
                        │
                        ├── Azure AD validates federation trust
                        │
                        ├── Azure AD issues its own token
                        │
                        └── User receives access token for cloud app

Read the full file on GitHub · 211 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 211 lines · 50 tokens per session scan A 6c0b501db01b

Subscribe to this mod's changes

building-identity-federation-with-saml-azure-ad is a skill published in the GitHub repository autohandai/community-skills (11 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 50 tokens to every session and 2,029 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to building-identity-federation-with-saml-azure-ad, differing in 37 lines, and is treated as a copy.

Related

Other skills, from other repositories

building-identity-federation-with-saml-azure-ad

Configure SAML 2.0 identity federation between on-premises Active Directory (via AD FS or a third-party IdP) and Microsoft Entra ID, covering federation models (AD FS, password hash sync, pass-through auth, third-party IdP) and the SAML authentication flow. Use when extending on-premises authentication authority to…

Youngmaidainon/Agent-Level-Up · 95 tokens

building-identity-federation-with-saml-azure-ad

Establish SAML 2.0 identity federation between on-premises Active Directory and Azure AD (Microsoft Entra ID) for seamless cross-domain authentication and SSO to cloud applications.

26zl/cybersec-toolkit · 50 tokens

building-identity-federation-with-saml-azure-ad

Establish SAML 2.0 identity federation between on-premises Active Directory and Azure AD (Microsoft Entra ID) for seamless cross-domain authentication and SSO to cloud applications.

RobotFlow-Labs/skills-repo · 50 tokens

auditing-entra-id-with-aadinternals

Drive the AADInternals PowerShell toolkit to perform Microsoft Entra ID tenant reconnaissance, access-token acquisition across Microsoft APIs, and federation/AD FS backdoor testing (Golden SAML, T1606.002) for defensive validation. Use during an authorized Entra ID/Microsoft 365 red-team assessment to map external…

Youngmaidainon/Agent-Level-Up · 89 tokens

hunt-saml

Hunt SAML / SSO attacks. Patterns: XML Signature Wrapping (XSW) — modify Assertion while keeping Signature valid by relocating signed element, comment injection in NameID ([email protected] @attacker.com → some parsers see [email protected]), signature stripping (remove Signature element entirely, server should reject…

uphiago/recon-skills · 198 tokens

identity-access-expert

Design authentication and authorisation: OAuth 2.1 and OpenID Connect, session and token handling, RBAC and ABAC, and multi-tenant access control. Use when the user mentions OAuth, OIDC, SAML, SSO, JWT, refresh tokens, PKCE, login flows, sessions, roles and permissions, RBAC or ABAC, or when the task involves securing…

personamanagmentlayer/pcl · 99 tokens