Auth0 vs Microsoft AD FS: which fits your login setup
Most readers arrive here because of a renewal, a change in Auth0 pricing, a data residency rule, or a Windows federation setup that Microsoft advises leaving. Auth0 fits external customer login on a hosted platform priced by monthly active users, while AD FS fits Windows Server federation of an existing Active Directory. The two are rarely interchangeable: one is a managed service for applications your customers sign into, and the other is a role inside your own Windows estate. Three questions decide which one fits, and the answers should be written down before any contract conversation: who the users are, where the identity data may sit, and who will run and patch the servers.
Start with the users. Auth0 is built for people outside your company, such as consumers, partners and B2B customers who register through your applications. Its Free plan covers up to 25,000 monthly active users, and the Dashboard or the Management API can export users as NDJSON or CSV. AD FS extends single sign-on to internet-facing applications for customers, partners and suppliers, but it depends on your own Active Directory, and extranet access also requires the Web Application Proxy role on a separate computer. For data location, Auth0 public cloud tenants can be created in Australia, Canada, Europe, Japan, the United Kingdom or the United States, and a tenant name cannot be changed later. Auth0 Private Cloud is a dedicated deployment on AWS or Azure for customers who need isolation. Confirm which region or deployment model meets your residency rule, and whether logs and support access fall under it.
Then ask who will run the servers. AD FS is a Windows Server role, and every server in the farm must join the same AD DS domain. Microsoft lists 4 GB RAM and 100 GB disk as recommended for each AD FS or Web Application Proxy server. A Windows Internal Database farm stops at 30 federation servers and 100 relying party trusts, so larger estates need SQL Server. Microsoft now highly recommends migrating to Entra ID over upgrading AD FS, so plan that decision first. Any change to the token-signing certificate breaks sign-ins for every relying party that has not been updated, so put that on the patch calendar. Run the AD FS Migration Readiness Script on the AD FS server and review the AD FS application activity report in Entra ID to see which apps can move first. For Auth0, ask the vendor in writing which patching, backup and upgrade tasks are theirs under your plan.
How to choose between Auth0, AD FS and a self-hosted route
The diagram starts with who signs in. External customers reach a data location decision: if data must stay in your own infrastructure, the route is self-hosted ZITADEL or Keycloak; if an Auth0 public region or Private Cloud is acceptable, Auth0 stays in scope. Workforce users in Active Directory follow a second path. Where AD FS already runs, the usual step is a plan to move to Microsoft Entra ID, or to deploy Keycloak to federate the directory. Before choosing a branch, confirm residency requirements, the AD FS server footprint and which applications already use modern protocols such as SAML and OpenID Connect.
Decision path from user type to identity route.
Which scenarios favor Auth0 and which favor AD FS
This table compares the scenarios in which Auth0 or Microsoft AD FS is the better fit for identity and SSO. Each row names the condition that makes the advantage hold, so check that condition against your own environment before deciding. The main takeaway is that AD FS suits a Windows-centered workforce that already runs its own federation servers, while Auth0 suits external users and teams without Windows Server operations.
| Scenario | Better fit | Why |
|---|---|---|
| External customer sign-up | Auth0 | Holds while monthly active users stay within a plan you can fund. The Free plan covers up to 25,000 MAUs. |
| Windows workforce on Active Directory | AD FS | Holds while users sign in from AD DS and you already run Windows Server federation servers. |
| Partner and supplier access | AD FS | Holds if you already run Web Application Proxy for extranet access on a separate server from the federation servers. |
| EU data residency, on your own servers | AD FS | Holds when policy keeps identity data on servers you run in your own EU datacenter. |
| EU data residency, cloud tenant | Auth0 | Holds if the Europe tenant region meets your policy. Confirm regional and Private Cloud choices with Auth0. |
| Team with no Windows Server operations | Auth0 | Holds when nobody runs Windows Server federation servers, patching or token-signing certificate changes. |
| Shrinking AD FS estate | Depends on the remaining apps | Microsoft recommends migrating off AD FS to Entra ID, so decide the target before moving apps to Auth0. |
What drives the Auth0 bill and the AD FS running cost
Auth0 costs follow the plan tier that your monthly active user count and required features place you in. AD FS costs come from the servers, licenses, database and people that keep a farm running, and Microsoft now recommends moving to Entra ID over upgrading AD FS, so include that path in your comparison.
Auth0 plans metered by MAU
Auth0 sets each plan tier by monthly active users, counted as non-internal users who authenticated during a month for a given tenant. The Free plan has a monthly active user ceiling, so an application with steady growth can move up a tier without a deliberate decision. Check how your count treats internal staff, repeat sign-ins and test tenants, and count each tenant separately if you run several. Ask Auth0 which tier your projected count lands in and how it bills above that tier.
- Free plan MAU limit
- 25,000
Features gated by plan
Custom database connections start on the Professional plan, so a team that wants Auth0 to validate logins against its existing user store must move up from the lower tiers. Private deployment is an Enterprise add-on, and the 99.99% SLA is Enterprise only. Write down the features your applications need, then check each one against the tier that includes it before you compare totals. A feature missing from your current plan can change the tier, and therefore the bill, more than user growth does.
Windows Server licensing per server
This comparison does not state a per-user price for AD FS, so the license line comes from Windows Server licensing for each server. Every federation server in the farm and every Web Application Proxy server is a Windows Server instance you must license, so the count grows with the farm and with the extranet footprint. Confirm the edition, core counts and client licensing terms with Microsoft or your reseller, check whether your current agreement covers the new machines, and get the quote in writing.
Server sizing and proxy servers
Microsoft publishes a minimum and a recommended memory and disk size for each AD FS and Web Application Proxy server. Those levels set the hardware or virtual machine you buy for every node, and production budgets should use the recommended level. Extranet access also needs Web Application Proxy servers, which cannot share a computer with a federation server, so each proxy adds a separate machine. Confirm sizing against your peak login volume in a test farm before you fix the hardware order.
- Minimum RAM per server
- 2 GB
- Recommended disk
- 100 GB
SQL Server above farm limits
The Windows Internal Database supports farms up to a fixed number of federation servers and relying party trusts. Past those limits you need SQL Server, which carries its own license, backup routine and database administration time. WID farms also lack SAML artifact resolution and token replay detection, so check whether your relying parties depend on either feature before you choose the database. Count your applications early, because crossing a limit in the middle of a project adds migration work.
- Federation server limit
- 30
- Relying party trust limit
- 100
Staff time and certificate changes
Staff time is a recurring cost that covers patching the Windows servers, watching farm health and renewing certificates. When the AD FS token-signing certificate changes, every relying party must receive the new certificate or its sign-ins fail, so each certificate event becomes a coordinated change across all connected applications. Ask your team to estimate hours per month for routine operations and for each certificate change, and budget that time on top of the licenses and hardware.
How Auth0 vs Microsoft AD FS compares on capabilities
This table compares Auth0 and Microsoft AD FS across the capabilities that usually decide an identity migration: where each runs, how partners and extranet users sign in, how tokens carry claims, and the scale limits that apply. Confirm open details in Auth0's documentation or with Microsoft before you rely on them. The main takeaway is that AD FS is a Windows Server federation role that Microsoft steers toward Entra ID, while Auth0 is a managed platform whose limits depend on your plan.
| Capability | Auth0 | Microsoft AD FS |
|---|---|---|
| Primary use | Managed customer and application login as an identity platform | Federation for Windows Server environments, extending single sign-on to partner and internet-facing apps |
| Where it runs | Multi-tenant public cloud in six regions, or a dedicated Private Cloud on AWS or Azure | On your own Windows Server farm, with all servers joined to one AD DS domain |
| Partner and extranet access | Organizations and enterprise connections for B2B partners; Free plan includes 5 Organizations and 1 enterprise connection | Needs the Web Application Proxy role service on a separate server for extranet access |
| Third-party MFA | Confirm MFA provider options and extension points in Auth0 documentation | Extensible mechanism for third-party MFA providers, with no certification program |
| Claims in tokens | Confirm custom claim and Action options in Auth0 documentation | UserInfo returns only the subject claim, so extra claims go in custom ID tokens |
| Scale limits | Priced by monthly active users; Free plan supports up to 25,000 MAUs | A WID farm supports up to 30 federation servers and 100 relying party trusts; larger farms need SQL Server |
| Multi-tenant B2B organizations | Organizations feature for B2B members, with 5 included on the Free plan | Partners are set up as trust relationships; confirm how Microsoft documents per-customer isolation |
| Private deployment | Dedicated Private Cloud on AWS or Azure; private deployment add-on is Enterprise only | Runs on your own Windows Server infrastructure, managed by your team |
| Product direction | Owned by Okta since completing its acquisition on May 3, 2021 | Microsoft highly recommends migrating to Entra ID; confirm its current guidance |
Where the data sits and what leaving involves
Where identity data sits and how hard it is to leave both shape the cost of each option. Auth0 keeps tenant data in the region you select or in a dedicated Private Cloud, and its password hash exports depend on a support process. AD FS keeps identities in your Active Directory, but leaving it runs through a Microsoft migration to Entra ID.
Auth0 hosting options
Auth0 public cloud tenants can be created in Australia, Canada, Europe, Japan, the United Kingdom or the United States, so the region you choose at creation sets where tenant data is held. The tenant name cannot change after creation, so settle naming and custom domains before any users sign in. Private Cloud is a dedicated managed deployment on AWS or Azure for teams that need isolation or guaranteed capacity. Confirm with Auth0 which region or deployment model meets your residency requirement before you create the tenant.
Create tenants docsAuth0 user export
Bulk user export runs from the Dashboard or through the Management API create export users job, producing NDJSON or CSV files. Standard exports leave out password hashes. Password hashes need a support ticket on paid plans, Auth0 does not guarantee a delivery date, and the option is not available on the Free tier. Request the hash export early in any exit plan, because its timing sits outside your control and users cannot keep their passwords without it.
Bulk user exports docsAD FS data control
Every AD FS server must join the same AD DS domain, so user identities stay in Active Directory on infrastructure you already run. The operational cost sits in certificate rotation: when the token-signing certificate changes, every relying party must receive the new certificate or its sign-ins fail. Keep a current inventory of relying party trusts and a rollout plan before any rotation, and confirm which applications depend on your farm, since that list is often incomplete.
AD FS requirementsAD FS exit path
Microsoft's AD FS overview recommends migrating to Microsoft Entra ID instead of upgrading AD FS. The AD FS Migration Readiness Script runs on the AD FS server to assess which apps can move, and the AD FS application activity report in Entra ID shows which apps still sign in through AD FS. Move apps that use SAML or OpenID Connect first, then route apps on older protocols through Application Proxy or a Secure Hybrid Access partner. This path ends in a Microsoft cloud service, so count that dependency in your comparison.
Migration stages guideWhen a self-hosted option fits better than both
Neither product is the answer when the identity data and the servers that authenticate users must stay inside your own infrastructure. Keycloak is the most direct self-hosted replacement for AD FS as a single sign-on front end. It is licensed under Apache 2.0, is a Cloud Native Computing Foundation incubating project, supports OpenID Connect, OAuth 2.0 and SAML 2.0, and federates existing LDAP and Active Directory servers, so your directory can stay where it is while Keycloak issues tokens to applications. authentik has an MIT-licensed core that covers OIDC, SAML, LDAP, SCIM, RADIUS, Kerberos and proxy authentication, but its Microsoft Entra ID integration is an Enterprise feature under a separate license. ZITADEL fits multi-tenant customer identity, and FreeIPA fits a Linux directory that can form a mutual trust with Active Directory.
Running any of these means owning the platform, including hosting, database operations and a high availability design across nodes. Keycloak publishes four minor releases a year since 26.0 and says breaking changes in minor releases are opt-in, so upgrade review becomes a recurring task. The current release, 26.8.1, was published October 13, 2026. Realm export and import with kc.sh export and kc.sh import have documented limits as a backup and restore method, and all nodes must be stopped while the export runs, so confirm your backup design before go-live. Keycloak import and export documentation sets out those limits. ZITADEL requires PostgreSQL 14 or later, and authentik publishes its supported versions, currently 2026.5.x and 2026.8.x for security fixes, with at least 24 hours notice before security releases that your change process must absorb.
Staffing is the deciding condition. A self-hosted option fits when your team can run identity around the clock, including upgrades, incident response and failover, or when you can buy support that covers the hours your team cannot. Rehearse token-signing certificate rotation as a runbook item, since AD FS fails every relying party that has not received the new certificate, and apply the same discipline to upgrades, backups and node failover. Before you choose, ask any support provider for its coverage hours, response targets and patch windows in writing. If you cannot staff that coverage, Auth0 or Microsoft Entra ID may fit better, and the lock-in and data location considerations earlier on this page should guide that choice.
What a move between Auth0 and AD FS involves
The move runs in six stages, from inventory to retirement, and each stage closes with a check the client can verify. Application owners and the client's identity team make most of the decisions, while the migration work covers user moves, claim mapping and cutover support. The sequence produces a signed-off application list, a working target, and an AD FS farm that can be retired with no remaining relying parties.
Inventory every application, protocol and owner
List every application that signs users in, the protocol it uses (SAML, OpenID Connect or an older protocol that needs an interim path) and the team that owns it. For AD FS, run the AD FS Migration Readiness Script on the AD FS server and review the AD FS application activity report in Entra ID. For Auth0, record the tenant configuration, including applications, connections and Actions. Application owners confirm each entry and name a cutover contact. The step is done when one list with a named owner for every relying party is signed off by the client's identity team.
Choose the target and confirm its protocols
Select the replacement only after the inventory shows which protocols and MFA methods the applications need. Keycloak supports OpenID Connect, OAuth 2.0 and SAML 2.0 and can federate with existing LDAP and Active Directory servers, so AD DS can remain the source of user accounts. authentik's free edition supports OIDC, SAML, LDAP and Kerberos, with community support only. Confirm MFA for each application in the target's documentation and a test sign-in, since your current MFA may be a third-party provider connected to AD FS through its extensible mechanism. The step is done when a written decision names the target and a test application signs in through it.
Connect or migrate users to the target
AD FS users already exist in Active Directory, so the first task is connecting the target to that directory and leaving accounts in place. Keycloak can read them through user federation, and the client's directory team confirms which groups and attributes are in scope. Auth0 users move through a bulk export job in NDJSON or CSV, started in the Dashboard or through the Management API at
POST /jobs/users-exports. Standard exports omit password hashes. Paid-plan customers request the hash export by support ticket, Auth0 does not guarantee a delivery date, and the Free tier does not offer it, so those users need a reset path. The step is done when a test user signs in on the target with the expected account data.Rebuild claims and token logic
AD FS UserInfo returns only the subject claim, so any extra claim an application reads must come from a custom ID token. List each claim the applications read today, such as email, department or group membership, and map it to an attribute in the target. Auth0 Actions run login logic that needs equivalent code in the target's own login flow or token mappers, so review each Action with its application owner. Test with tokens from a staging client before any production change. The step is done when each application receives the same claims it used before, and its owner confirms this in writing.
Cut over one application at a time
Move applications one at a time, starting with those on modern protocols such as SAML and OpenID Connect, which Microsoft's migration guidance also puts first. Older protocols need an interim path, so assign those to a separate plan and owner. For AD FS, update every relying party with the new token-signing certificate before that certificate changes, because any relying party left behind will fail sign-in. Agree a change window with each application owner, run a sign-in test, and keep the previous configuration available until the owner signs off. The step is done for an application when its owner confirms production sign-ins and claims.
Retire AD FS after logs confirm no traffic
Retire the AD FS farm only after the last relying party has moved and the logs show no remaining sign-ins through it. Export the farm configuration and audit logs before shutdown and store them under the client's retention policy. Remove the Web Application Proxy and federation servers in the order your change plan sets. Delete trusts and endpoints only after the change board approves. The step is done when a decommission record lists every server, trust and retained log set, and the client's security team accepts it.
Questions buyers ask before a move from Auth0 or AD FS
Is Microsoft AD FS a like-for-like replacement for Auth0?
No. The two products serve different users, so confirm your user population before comparing them. Auth0 is a customer identity platform that adds login to your applications and is priced by monthly active users. AD FS is the federation server role in Windows Server. It extends single sign-on to internet-facing applications for employees, partners and suppliers, and it relies on Active Directory Domain Services. Start by listing who signs in (customers, workforce, partners or a mix) and which applications each group uses. Microsoft's AD FS overview states that, instead of upgrading to the latest AD FS version, it highly recommends migrating to Microsoft Entra ID. Ask your Microsoft contacts how that guidance applies to your environment.
What drives the cost of leaving Auth0 or AD FS?
Each platform has different cost drivers, so the answer depends on what you run today. For Auth0, the drivers are monthly active users and plan tier. Auth0 counts non-internal users who authenticated during a month for a given tenant, and its pricing page shows that the Free plan supports up to 25,000 monthly active users. Enterprise add-ons and limits on Organizations and enterprise connections can also push you to a higher plan. For AD FS, the drivers are server count, Windows Server licensing, SQL Server when a farm outgrows the Windows Internal Database, and staff time to patch and monitor the farm. Replacement platforms add their own components: servers, a supported database, high availability, support and engineering time. In any quote, separate one-time migration work from recurring run costs, and confirm Windows Server and SQL Server terms with your licensing agreement.
Can user passwords move from Auth0 to another platform?
Only through a support request to Auth0, and only on paid plans. Auth0's standard user exports do not include password hashes. Customers on paid plans can request a password hash export through a support ticket, but Auth0 does not guarantee a delivery date, and the option is not available on the Free tier. Treat this as a dependency: open the request early, and confirm that your target platform can verify the hash format before you set a cutover date. Keep a password reset path ready in case hashes arrive late or cannot be verified. For AD FS, the picture differs because AD FS checks passwords against Active Directory Domain Services, so the directory holds the credentials. Confirm with your directory team how user credentials will be handled during the move.
How long does a migration off Auth0 or AD FS take?
The timeline depends on application count, protocol mix and MFA, so ask for a written scope with a timeline before you plan a cutover. A small set of applications on modern protocols moves very differently from an estate with legacy applications, custom claims or several MFA methods. Microsoft's guidance on migrating application authentication from AD FS says to move applications that use modern protocols such as SAML and OpenID Connect first, while apps on older protocols are integrated through Application Proxy or Secure Hybrid Access partners. For an AD FS estate, Microsoft's AD FS Migration Readiness Script runs on the AD FS server to assess which apps are ready to migrate, and the AD FS application activity report in Entra ID helps confirm which apps still sign users in. Build the inventory first, then ask for phases, test windows and dependencies in the written scope.
What does a migration need from our internal team?
A migration needs decisions and access from your team as well as technical work. Name these owners before work starts, because the written scope should show who approves each phase.
- Application owners who confirm login flows, redirect URIs, claims, test accounts and acceptance criteria for each application.
- Access to identity servers, DNS, certificates and the Auth0 tenant or AD FS farm, so the work can export users and change configuration.
- Change approval through your own process for each cutover window, including a rollback plan.
- Sign-off on test results from business and security owners before each phase goes live.
If you run AD FS, plan the token-signing certificate change carefully, because every relying party must be updated with the new certificate or its sign-ins fail.
Can our own team run the migration without an implementation partner?
Yes, if your team has the skills to run and patch the platform you choose. Self-hosting moves that work to you. Keycloak, for example, is licensed under Apache 2.0 and still needs people who can operate it, apply upgrades and design backups. Its import and export guide warns that realm export and import has limitations as a backup and restore mechanism and that all nodes must be stopped while it runs, so backups need a separate design. If those skills are not in-house yet, DeployOpen can plan, implement, customize, integrate, harden, back up, upgrade, document and support self-hosted open-source platforms in your own infrastructure. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support is available as a retainer. DeployOpen does not publish a price list, so a quote follows from the written scope.
How DeployOpen helps you choose and run the route
DeployOpen plans, implements, integrates, hardens, backs up, documents and supports self-hosted identity platforms inside your own cloud accounts, data centers or air-gapped networks. For Auth0 vs Microsoft AD FS, we start from the applications, user sources and protocols you run today, then agree in writing which parts move, which stay and how cutover is tested.
How we scope
- The written scope names each application, protocol and user source to move from Auth0 or AD FS.
- Auth0 export format, paid-plan password hash requests and AD FS relying party counts are confirmed before scope is signed.
- Quotes follow from the written scope, so ask for line items for each application and user source.
How we build
- Deploy Keycloak or authentik in your cloud account, data center or air-gapped network, with SSO, access control and audit logging.
- Connect Active Directory users through user federation, and test each AD FS relying party trust before cutover.
- Load Auth0 user exports and plan password hash requests early, since those depend on a paid-plan support ticket.
How we hand over
- Documentation covers the configuration, token claims, backup procedure and the runbook for each application and user source.
- Backups cover realm or configuration exports and database snapshots, since Keycloak's JSON export has backup limits and needs nodes stopped.
- Evidence packs cover access controls, audit logs and change records for your independent auditor, who issues any report.
How we support
- Retainers cover ongoing support, upgrades and continuous testing of the identity platform after handover.
- Security testing covers login flows, the admin console, client secrets and federation trusts, reported with findings for your team.
- Keycloak plans four minor releases a year with opt-in breaking changes, so upgrade windows can be planned.

