Active Directory Series

🗂️ Understanding AD DS, AD CS, AD FS, AD LDS, and AD RMS from a Top-1% Perspective — Sorting Out the Five Roles That All Share the 'Active Directory' Name

Introduction

This article is part of the Top 1% Series — Full Article Guide, and the 18th entry in the Active Directory series. Reading Understanding AD vs. DC, and Domains vs. Forests first will make the contrast with AD DS easier to follow.

Prerequisite Knowledge

Getting the Big Picture

In a nutshell

The five roles that carry the “Active Directory” name aren’t variations of one technology — they’re five independent products that happen to share a common design philosophy and brand: directory services. Where AD DS is “the core that manages an organization’s users and computers,” AD CS “issues certificates,” AD FS “delivers SSO across organizational boundaries,” AD LDS “hosts a lightweight, application-dedicated directory that doesn’t depend on AD DS,” and AD RMS “encrypts the file itself and restricts what can be done with it.” Each solves an entirely different problem.

graph TB
    subgraph Family["Five roles that share the 'Active Directory' name"]
        DS["AD DS<br/>The core that centrally manages<br/>an org's users and computers"]
        CS["AD CS<br/>An internal<br/>certificate authority (CA)"]
        FS["AD FS<br/>SSO/federation across<br/>organizational boundaries"]
        LDS["AD LDS<br/>A lightweight, app-dedicated<br/>directory independent of domains"]
        RMS["AD RMS<br/>Rights management that<br/>encrypts the file itself"]
    end
    DS -.Requests certificates from.-> CS
    DS -.Backs authentication for.-> FS
    DS -.Source of protected-user info for.-> RMS
    LDS -.Runs independently of AD DS.-> LDS

The “Active Directory” name carries strong brand equity, so Microsoft has attached it to essentially any product that applies the directory-service way of thinking. Without knowing this naming history, it’s easy to look at an individual role name and mistakenly assume it’s “just another extension of AD DS” — that’s the real source of confusion in this area.

Deep Dive into the Fundamentals

AD CS (Active Directory Certificate Services): an internal certificate authority

AD CS is a role that lets you build a Certificate Authority (CA) for issuing and managing digital certificates used within your organization, integrated with AD DS. It lets you issue and auto-renew certificates for internal web servers, client certificates for wireless (802.1X) authentication, smart card logon certificates, and code-signing certificates — all without relying on an external commercial CA.

The biggest benefit of AD DS integration is certificate templates and autoenrollment. Through Group Policy, you can configure “automatically distribute and renew this type of certificate for every domain-joined PC,” eliminating manual certificate issuance and renewal work. The typical architecture is a hierarchy of a root CA (the top-level anchor of trust, usually kept offline and tightly secured) and one or more subordinate (issuing) CAs.

AD FS (Active Directory Federation Services): SSO across organizational boundaries

AD FS is a role that uses claims-based authentication to enable single sign-on (SSO) into web applications and partner-company systems outside your organization, using nothing but AD DS credentials. AD DS’s Kerberos authentication, in principle, only works within the same forest (or between domains with an established trust). AD FS instead uses standard protocols like SAML and WS-Federation to pass along the result of AD DS authentication as a signed token called a “claim,” reaching beyond the forest — and beyond the organization itself — to services such as SaaS applications.

How does AD FS differ from AD DS's forest trust?

AD DS does have a mechanism for establishing trust with another forest — a forest trust — but that mechanism only extends the range of trust within the same Kerberos/NTLM authentication world. AD FS, on the other hand, converts authentication into an entirely different standard, such as SAML or OAuth/OIDC, before handing it off outside the organization. The other party doesn’t even need to be running Active Directory at all — as long as they speak SAML or OIDC, whether it’s Google Workspace or an in-house web app, AD FS can federate with it.

As a practically important note, Microsoft strongly recommends Microsoft Entra ID (formerly Azure AD) — not AD FS — as the identity foundation for new cloud scenarios. New capabilities like conditional access, phishing-resistant multi-factor authentication, and risk-based controls are being invested in heavily on the Entra ID side; AD FS itself remains supported, but it receives essentially no new features. If you have an existing AD FS environment bridging on-premises AD and the cloud, now is a reasonable time to start considering a migration to Entra ID (or a hybrid setup using Entra Connect).

AD LDS (Active Directory Lightweight Directory Services): a lightweight directory independent of domains

AD LDS is an LDAP-based directory service just like AD DS, but it requires no domain or forest membership whatsoever. It’s an independent directory instance. A single server can run multiple independent AD LDS instances side by side, one per application, each with its own schema (data structure definition).

The problem this solves: “a web application needs an LDAP directory for authentication and user information, but we don’t want to extend the schema of our production AD DS just for that one app, and we don’t want to place a real domain controller in the DMZ either.” Extending the AD DS schema is a heavyweight operation that affects the entire forest, and doing it for the sake of a single externally facing application isn’t a risk worth taking. With AD LDS, you can instead provision a disposable, application-specific directory that’s completely isolated from production AD DS. It’s used for things like an extended-authentication directory placed in the DMZ, or giving each tenant of a multi-tenant SaaS product its own separate directory instance.

AD RMS (Active Directory Rights Management Services): encrypting the file itself

AD RMS takes a different approach from the previous four roles: instead of controlling “who can access something,” it controls “what they’re allowed to do once they have access.” It encrypts Word documents and emails and embeds rules like “viewing is allowed, but printing, forwarding, and copying are not” directly into the file. This rule travels with the file and stays in effect even after the file leaves your internal network.

AD RMS is currently positioned as legacy in Microsoft’s product strategy. Migration to its cloud-based successor, Microsoft Purview Information Protection (formerly Azure Information Protection / Azure RMS), is recommended. It continues to ship with Windows Server 2025 for backward compatibility and continues to receive security fixes for the life of the OS, but no new features are planned. There’s essentially no reason to build a new AD RMS environment from scratch today.

What Top-1% Engineers See

Why do they all carry the “Active Directory” name?

The implementations of these five roles are completely different, but what they share is that each is built on the directory-service design philosophy and brand. AD DS and AD LDS are both, literally, LDAP-based hierarchical directories. AD CS, AD FS, and AD RMS aren’t directories themselves, but each is designed to use AD DS’s user and computer information as its root of trust — AD CS looks up who certificates should be issued to, AD FS looks up the attributes of an authenticated user, and AD RMS looks up the list of users allowed to access a protected file, all from AD DS. This shared pattern — “use AD DS as the root of trust” — is the actual technical reason these products share a name. A top-1% engineer, on encountering an unfamiliar role name, first asks: “Is this an extension of AD DS itself, or is it a separate product that merely uses AD DS as its foundation to solve a different problem?”

Do AD CS, AD FS, and AD RMS work without AD DS?

The short answer: only AD LDS is fully independent of AD DS — the other three (AD CS, AD FS, and AD RMS) are, in practice, built assuming AD DS is present. That said, the strength of that dependency varies. AD CS can technically run in a “standalone CA” mode that doesn’t join a domain, but most of what makes AD CS actually convenient — certificate template management, automatic enrollment and renewal to clients — is only available in the AD-DS-integrated “enterprise CA” mode, so there’s rarely a real-world reason to choose AD CS without AD DS. AD FS and AD RMS are both designed to pull the user and group information they authenticate or license against directly from AD DS, making AD DS an effectively hard prerequisite for both.

Common Misconceptions and Pitfalls

Troubleshooting Perspective

For every role covered in this article, the biggest source of trouble is a misjudgment about whether it should be deployed at all.

  1. Before reflexively deploying AD CS just because “we need a certificate”: Confirm whether the certificate is for internal use only or for an internet-facing server. Internet-facing servers should, as a rule, use certificates from a commercial CA that’s already trusted by browsers by default.
  2. When asked to “let this outside contractor log in with an AD account too”: Don’t casually widen a forest trust — consider claims-based federation via AD FS (or, more modern still, Entra ID) instead. A forest trust brings the entire trusted forest into scope, which tends to grant an outside contractor a disproportionately broad amount of trust.
  3. When asked to “extend the AD DS schema just for this one application”: First consider whether the schema extension is truly necessary, or whether provisioning an independent directory with AD LDS would be safer. Schema extensions affect the entire forest and are difficult to reverse.

Prevention and Long-Term Countermeasures

Summary

What to keep in mind starting today

  1. When considering adding a new role, first separate “does this extend AD DS itself, or is it an independent product?”
  2. Before building AD FS or AD RMS from scratch, check whether migrating to Entra ID or Microsoft Purview Information Protection is realistic instead.

References

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).