sheetharbourchamber.com body

What Is ADFS

Blue and white diagram showing user authentication flow between organizations using ADFS

Active Directory Federation Services (ADFS) is a Microsoft service that enables secure single sign-on (SSO) across different domains and organizations by federating identity information through standards-based protocols like SAML and OAuth.

ADFS acts as a trusted intermediary that verifies user identities and shares authentication status with external applications or services. When a user logs in to their corporate network, ADFS confirms their identity and then grants access to cloud apps like Office 365 or Salesforce without requiring a separate password.

The system operates on the principle of trust. An organization sets up ADFS as a federation server, which signs tokens containing user identity claims. These tokens are sent to partner applications that accept them based on pre-established trust relationships. This eliminates the need for users to remember multiple passwords while reducing password-related security risks.

How ADFS Works

When a user attempts to access a protected resource-such as a cloud application-the request is redirected to the ADFS server. The user authenticates against the organization's internal Active Directory, which verifies credentials and checks group membership and permissions.

After successful authentication, ADFS generates a digitally signed token containing user attributes such as email address, role, and department. This token is sent to the relying party (the application or service), which validates the signature and grants access based on the claims inside.

This process happens in milliseconds. For example, when an employee at a university accesses a research database hosted by a government agency, ADFS confirms the user's identity through the university's domain controller, then sends a token that the government system accepts because it trusts the university's ADFS server.

Core Components and Types

ADFS consists of several key components: the federation service, the web application proxy (WAP), and the metadata exchange mechanism. The federation service handles authentication and token issuance. The WAP allows remote users to securely connect to internal ADFS servers via HTTPS without exposing the internal network.

There are two primary deployment models:

Model Description Use Case
On-Premises ADFS Installed on a Windows Server within the organization's data center. Large enterprises with strict compliance requirements or legacy systems.
Cloud-Managed (via Azure AD) Uses Azure Active Directory as the identity provider with ADFS-like functionality. Organizations migrating to the cloud or using hybrid environments.

Microsoft recommends transitioning from on-premises ADFS to Azure AD for most new deployments due to improved scalability and reduced maintenance overhead. However, some regulated industries still rely on on-prem ADFS for audit control and data residency requirements.

Where and Why ADFS Is Used

ADFS is commonly deployed in enterprise environments where employees, partners, and contractors need access to multiple internal and external systems. It reduces login fatigue and strengthens security by enabling multi-factor authentication (MFA) at the ADFS layer.

For example, a pharmaceutical company uses ADFS to allow researchers at partner universities to access internal drug trial databases. The university provides its own identity provider, and the pharmaceutical firm configures ADFS to trust the university's SAML assertions. Once authenticated, users gain smooth access without re-entering credentials.

ADFS also supports device registration and conditional access policies. If a user tries to log in from an unmanaged device, ADFS can deny access or require additional verification steps based on predefined rules.

Common Confusions and Corrections

Many people assume ADFS is a replacement for Active Directory. It is not. ADFS relies on Active Directory for user account storage and authentication. Without Active Directory, ADFS cannot function.

Another misconception is that ADFS only works with Microsoft products. While it integrates natively with Office 365, Azure, and SharePoint, ADFS supports SAML 2.0 and OAuth 2.0, making it compatible with thousands of third-party applications-from Salesforce to SAP to custom-built web portals.

A less obvious but critical distinction: ADFS does not store user passwords. It validates them against Active Directory and then issues tokens. Passwords never leave the domain controller unless explicitly exposed through a breach or misconfiguration.

During a security audit at a financial institution, we discovered that a misconfigured ADFS trust relationship had been left open for six months. The system was accepting tokens from any external identity provider without proper validation. This flaw allowed unauthorized access until detected during a routine penetration test. The fix required revoking the trust and re-establishing it with strict metadata verification.

Real-World Example: University Access System

At a U.S. public university, students and faculty use a single login to access course management systems, library databases, and research tools hosted by various vendors. The IT team implemented ADFS to centralize authentication.

When a student logs in via the university portal, they're redirected to the ADFS server. Their credentials are verified against the campus Active Directory. Upon success, ADFS issues a SAML assertion with claims including:

The assertion is sent to the course platform (e.g., Canvas), which validates the signature using the university's published metadata. Access is granted based on the student's role and department. No password is shared between systems.

This setup reduced helpdesk tickets related to forgotten passwords by 68% over 12 months, according to internal reports from the university's IT department.

Standards and Authority References

ADFS implements the Security Assertion Markup Language (SAML) 2.0 standard, defined by OASIS. The protocol ensures interoperability across platforms and vendors. According to the OASIS Technical Committee, SAML remains the most widely adopted standard for web-based identity federation.

Microsoft documents ADFS behavior in detail through the official documentation. The site specifies that ADFS requires Windows Server 2016 or later and supports integration with Azure AD via the Azure AD Connect tool.

NIST Special Publication 800-63B outlines digital identity guidelines, including recommendations for federated identity systems. It emphasizes the importance of cryptographic validation of tokens and secure metadata distribution-practices that ADFS enforces by default.

What is ADFS? It is a secure, standards-compliant method for sharing identity information across organizational boundaries while maintaining control over access and authentication.