Okta vs Microsoft AD FS

Okta fits cloud-first estates with many SaaS apps. AD FS fits only a stable Windows estate with a migration plan, because Microsoft advises moving to Entra ID. Keycloak or authentik fits when identity data must stay in your own infrastructure.

On this page

Okta vs Microsoft AD FS: which fits your SSO estate

Okta fits organizations that want a vendor-run cloud identity service, billed per user for many SaaS applications. AD FS fits only a stable on-premises Windows estate with a dated migration plan, because Microsoft highly recommends migrating to Microsoft Entra ID over upgrading to a newer AD FS version, as set out in Microsoft's AD FS overview. If a renewal or an AD FS farm is under review, the decision turns on four things: the protocol mix of your applications, where identity data must live, how much Windows operating capacity you can staff, and how the budget is structured. Start with an inventory of every relying application and its protocol. Microsoft's migration guidance moves applications that already use SAML or OpenID Connect first, and applications on older protocols go through Application Proxy or Secure Hybrid Access partners. Run the same inventory before any Okta renewal, because applications without federation support are the ones that would need Okta Access Gateway.

Where identity data must live is the second question. Okta runs from regional cells, and Okta states that the location where its sub-processors process data can vary with the service and cell you select, so compare the cell and sub-processor terms in your contract against your residency rules. AD FS keeps identity data inside your own Active Directory domain, but it adds operating work. Every AD FS and Web Application Proxy server must join the same AD DS domain, and Microsoft lists 4 GB RAM and 100 GB disk as recommended for each server. A farm on the Windows Internal Database supports up to 30 federation servers and 100 relying party trusts, and larger farms need SQL Server. Extranet access also requires the Web Application Proxy role, and a federation server and proxy cannot share one computer. Confirm with your Windows team that these servers, patch cycles and certificate work are staffed for the life of the platform.

Which option fits which identity scenario

This table matches common identity scenarios to the option that fits best between Okta Workforce Identity and Microsoft AD FS, with Keycloak, authentik and Entra ID where they apply. Read each row as a condition: if the scenario describes your estate, the better fit column names the likely choice and the why column gives the reason. The main takeaway is that AD FS is best treated as a bridge to a planned exit, while data control or self-hosting requirements point toward Keycloak or authentik.

ScenarioBetter fitWhy
Stable Windows estate with few relying parties, and a farm within the Windows Internal Database limitsAD FS, as a short-term bridgeMicrosoft's guidance is to migrate to Entra ID, so plan the exit now.
Many SaaS apps, mixed devices and a need for lifecycle management in one consoleOkta Workforce IdentityOkta is hosted, so no federation servers to run; pricing is per user with a $1,500 annual minimum (Okta pricing page).
Microsoft 365 and Azure estate where Microsoft's own migration guidance appliesMicrosoft Entra IDMicrosoft says to move modern SAML and OIDC apps first; older apps go through Application Proxy or Secure Hybrid Access partners (Microsoft Learn).
Identity data must stay in your own data center or cloud account, and your team runs the platformKeycloak, or authentik if you need LDAP and RADIUSBoth are self-hosted; Keycloak is Apache 2.0 and federates existing LDAP and Active Directory servers.
Team without Windows Server federation skills and no AD FS farm to operateOkta, or Keycloak on Linux if self-hosting is requiredAD FS needs domain-joined servers, a separate Web Application Proxy and relying-party updates after certificate changes.
Partners and suppliers need internet-facing SSO without adding federation servers to your network edgeOkta Workforce IdentityAD FS extranet sign-in requires a Web Application Proxy on a separate computer; Okta's sign-in is hosted by Okta.

How Okta and AD FS costs are structured, and what drives them

Okta, AD FS, Keycloak and authentik recover their costs through different components, so the comparison starts with what each bill contains. The four cards cover the Okta subscription, the Windows Server and staff costs behind AD FS, the open-source cores with their optional paid editions, and the levers and quote items that move each figure.

Okta: per-user suites with a minimum

Okta Workforce Identity is sold as suites priced per user per month, billed annually, with a $1,500 annual contract minimum. Starter includes Single Sign-On, Multi-Factor Authentication and Universal Directory. Essentials adds Adaptive MFA, Lifecycle Management and Access Governance. Enterprise adds API Access Management, Access Gateway and machine-to-machine tokens. Check which suite your use cases need, whether Access Gateway is in scope, and how the vendor counts users such as contractors and service accounts.

Okta pricing

AD FS: Windows Server and infrastructure

AD FS is a Windows Server role, so its cost sits in the licenses and machines that run it. Federation servers and Web Application Proxy servers must be separate computers, and every AD FS server must join the same AD DS domain, so an extranet deployment needs several Windows Server instances. Farms beyond the Windows Internal Database limits of 30 federation servers and 100 relying party trusts need SQL Server. Staff time for patching, certificate rotation and relying party updates recurs and is easy to undercount. Confirm Windows Server and SQL Server terms with your Microsoft agreement.

AD FS requirements

Keycloak and authentik: open-source cores

Keycloak is licensed under Apache 2.0, and authentik's core is MIT licensed, so neither core carries a license fee. authentik Enterprise is priced at $5 per user per month, billed annually, plus $0.02 per external user per month, and Enterprise Plus starts at $20k annually. Your remaining costs are servers, a database, high availability, backups, and the staff who operate and patch the platform. Ask which Enterprise features you need, such as Microsoft Entra ID integration or privileged access management, and confirm which edition includes them.

authentik pricing

What moves each bill

The main levers are user count, external user volume, suite or edition tier, server count and staff hours. Okta's bill rises with licensed users and suite tier, and the annual minimum matters most for small teams. AD FS costs rise with farm size, the number of federation and proxy servers, and whether SQL Server is needed. Self-hosted costs follow the same user and tier logic for authentik Enterprise, plus infrastructure and operations. In a written quote, ask for the per-user rate, the minimum, the billing term, renewal increase terms, add-ons, and what the support tier includes.

Okta vs Microsoft AD FS capabilities side by side

This table compares Okta Workforce Identity with Microsoft Active Directory Federation Services across delivery, protocols, directory integration, partner access, legacy apps, MFA, claims, scale and vendor direction. Read each row as a question for your architects: the AD FS entries describe Windows Server roles you would run and patch yourself, while the Okta entries describe a cloud service whose limits you should confirm for your tier. The main takeaway is that AD FS is a server role you operate, and Microsoft now advises moving new identity work to Entra ID.

CapabilityOktaMicrosoft AD FS
Delivery modelCloud service with cells in the US, EMEA, Japan, Australia, Canada and IndiaFederation server role on Windows Server, run in your own environment
ProtocolsSAML and OpenID Connect app integrations; confirm coverage for your app catalogMicrosoft guidance says to move modern SAML and OpenID Connect apps first
Active Directory integrationOkta AD agent imports AD users and groups into OktaAll federation and proxy servers must be joined to the same AD DS domain
Extranet and partner accessInternet-facing sign-in is part of the cloud service; confirm partner terms with OktaRequires the Web Application Proxy role, which cannot run on a federation server
Legacy on-premises appsAccess Gateway reverse proxy behind your firewall for apps without federation supportApplication Proxy or Secure Hybrid Access partners for apps on older protocols
MFAOkta MFA; Adaptive MFA is included in the Essentials suiteThird-party MFA plugs in through an extensible mechanism with no certification program
Token claimsConfirm which custom claims and authorization server options your suite includesUserInfo returns only the subject claim, so extra claims go in custom ID tokens
Scale limitsConfirm tenant limits for users, apps and API calls with OktaWID farms support up to 30 federation servers and 100 relying party trusts; larger farms need SQL Server
Lifecycle and vendor directionLifecycle Management is in the Essentials suite; roadmap and suite terms are set by OktaMicrosoft advises migrating to Entra ID over upgrading AD FS

Where identity data lives and what leaving each option involves

Okta keeps identity data in its cloud cells, so location, sub-processors and vendor support access become contract and security review items. AD FS keeps identity data on servers you run, which moves hosting, patching and backup to your team. The cards below compare where each option stores data and what it takes to leave.

Okta cell locations and sub-processors

Okta runs its service in cells across the US, EMEA, Japan, Australia, Canada and India, and you select the cell for your tenant. Okta states that sub-processor processing location can vary by service and cell, so the cell you choose does not settle where every sub-processor works. For US government workloads, Okta for Government High received FedRAMP High authorization, announced March 28, 2023. Ask which cell holds your tenant, which sub-processors handle identity and log data for each service, and which services sit inside the authorized boundary.

Okta data residency

Vendor support access controls

Okta's root cause analysis, published November 3, 2023, reported that a threat actor accessed files in its customer support system associated with 134 Okta customers. The entry point was a service account whose credentials an employee had saved to a personal Google profile. Vendor support access is the control to test in any Okta review. Ask how Okta limits support staff and service account access to customer data, how it stores and rotates service credentials, and which logs you receive when support systems touch your tenant.

Okta root cause analysis

AD FS keeps data on your servers

AD FS works from your own Active Directory Domain Services, and it runs on servers in your network, so identity data stays under your control. That also places hosting, patching, backup and recovery on your team. Every relying party must be updated when the token-signing certificate changes, or sign-ins to that application fail. Microsoft's overview advises migrating to Microsoft Entra ID before upgrading AD FS to its latest version, so check that guidance before you commit to a long-term AD FS plan.

AD FS requirements

Exit paths from each option

Okta documents three ways to export a list of active users: the Okta Password Health report CSV in the Admin Console, the community Rockstar browser extension, or the List Users API with a filter. The exported list does not carry your applications, groups or policies, so those must be rebuilt in the destination. For AD FS, Microsoft provides an AD FS Migration Readiness Script that runs on the AD FS server to assess which apps are ready to move, plus an AD FS application activity report in Entra ID. Whether password data can leave Okta is not covered here, so confirm it with Okta before planning.

Okta export guide

What running AD FS takes compared with running Okta

Running AD FS means operating a Windows federation farm yourself. Every AD FS server must be joined to the same AD DS domain, and Microsoft lists 2 GB RAM and 32 GB disk as the minimum, with 4 GB RAM and 100 GB disk recommended for each AD FS or Web Application Proxy server. The federation server and the Web Application Proxy cannot be installed on the same computer, so extranet access adds separate machines to patch and monitor. A farm on the Windows Internal Database supports up to 30 federation servers and 100 relying party trusts. Larger farms need SQL Server, which is another platform to license, back up and patch. The change that carries the most risk is certificate rotation. When the token-signing certificate changes, every relying party must receive the new certificate or its sign-ins fail, so your team needs a current inventory of relying parties before the first rotation.

Okta moves most of that operating load to its cloud service, so your team does not patch federation servers or manage a SQL back end for the Okta tenant. The work does not disappear, though. To integrate Active Directory, you install the Okta AD agent inside your network and import AD users and groups into Okta. Any legacy application without federation support needs Okta Access Gateway, a reverse proxy deployed behind your firewall. Those components need hosts, patching, certificates and network rules, so the operating work changes shape. Before you sign, ask Okta which agent and gateway versions your tenant supports, where the agent must sit relative to your domain controllers, and how the on-premises components are patched and monitored.

The right choice depends on who you have. A small team with no Windows operations staff gains the most from Okta's model, because the federation role, its database and its certificate lifecycle sit with the vendor, and the on-premises work is limited to the agent and any gateway. A large Windows estate already staffed for AD DS, patching and certificate management may find that AD FS fits existing runbooks. Microsoft highly recommends migrating to Microsoft Entra ID instead of upgrading AD FS, so any AD FS investment should be planned as a transition. Before deciding, count the servers, databases and relying party trusts you would run, list the protocols each application uses, and confirm the licensing terms for Windows Server with your Microsoft agreement.

Which identity path fits your estate

The diagram starts with where identity data must live. If it must stay in your own datacenter or an isolated network, the path leads to self-hosted Keycloak or authentik, and the Okta and AD FS branches do not apply. If cloud identity is acceptable, ask whether the estate is mostly SaaS apps that want vendor-run identity, which leads to Okta Workforce Identity, or a stable Windows estate with few modern apps, which leads to AD FS only as a time-limited bridge with a migration plan toward Microsoft Entra ID. Both cloud branches then check for legacy header, Kerberos or URL-based apps that need a proxy, such as Okta Access Gateway or the AD FS Web Application Proxy.

Decision path from data location to identity platform and legacy app proxy checks.

When Keycloak or authentik fits better than either product

Keycloak fits best when you want to keep federating sign-ins to Active Directory while moving the identity provider onto your own infrastructure. It is licensed under the Apache License 2.0 and is a Cloud Native Computing Foundation incubating project. It supports OpenID Connect, OAuth 2.0 and SAML 2.0, so relying parties that trust AD FS today can be moved to it in stages after testing each one. Its built-in user federation connects to existing LDAP and Active Directory servers, so the directory can stay where it is. The current release, 26.8.1, was published October 13, 2026. Since Keycloak 26.0 the project plans four minor releases a year and makes breaking changes opt-in, so your team needs a regular upgrade cycle. Treat the realm export and import commands as a migration aid. The server guide warns that they have limits as a backup method and that all nodes must be stopped while they run, so plan separate backups.

authentik fits when the team wants SSO, LDAP, RADIUS and proxy authentication from one product. Its core is MIT licensed, while the enterprise directory is under a separate authentik EE License. The free edition supports OIDC, SAML, LDAP, SCIM, RADIUS, Kerberos and proxy authentication, with community support only. Google Workspace and Microsoft Entra ID integrations, privileged access management and ticket-based support are Enterprise features, so if your plan depends on an Entra ID connection, the Enterprise edition belongs in the comparison. For security fixes, the supported lines are 2026.5.x and 2026.8.x, and the project announces security releases at least 24 hours in advance, so your change process must be able to apply a patch on short notice. Check the current pricing page before you cost the Enterprise option.

Choose Keycloak or authentik when three conditions hold. Your team has Linux or container operations skills to run the service. You need to federate sign-ins with an existing Active Directory forest. You do not want a per-user subscription for the identity layer. Both options also move patching, backups, high availability and upgrades to your team, so cost that work alongside any license fees. Before committing, test in your own environment: confirm the sign-in methods your Windows clients use, check which MFA choices cover your users, and confirm the database setup against the Keycloak database guide.

How a move from AD FS or Okta proceeds, step by step

This sequence moves sign-in for each application from AD FS or Okta to the new identity platform, in an order that keeps working applications running. It ends with test users signing in on both paths before any cutover. The work depends on app owner input, change windows and admin access on the source and target systems.

  1. Inventory applications and their protocols

    List every application that trusts AD FS or Okta, with its protocol (SAML, OpenID Connect or an older method), owner and recent sign-in activity. For AD FS, run the AD FS Migration Readiness Script on the AD FS server to see which relying parties are ready, then compare that with the AD FS application activity report in Entra ID to find apps still in use. For Okta, review the application list in the Admin Console and confirm with Okta which reports your tenant offers. Owners mark each app as migrate, retire or hold. Done when every app has a protocol, an owner and a decision.

  2. Move SAML and OpenID Connect apps first

    Apps on modern protocols go first, following Microsoft's staged migration guidance for SAML and OpenID Connect apps. For each app, the team builds the new connection in staging, updates redirect URIs or metadata, and has the owner sign in and out with a test account. Apps on older protocols are routed through Application Proxy or a Secure Hybrid Access partner, as Microsoft describes, or through the proxy of the chosen product. Done when each owner confirms a successful sign-in on the new path and the old path stays available as a fallback until cutover.

  3. Plan token-signing certificate changes before cutover

    Every relying party must hold the new token-signing certificate before AD FS switches to it, because when the certificate changes, sign-ins fail for any relying party that has not been updated. The identity team lists each relying party and its certificate, assigns an owner to update each one, and books every change in an approved window. If you are leaving Okta, the same check covers the signing certificates on each SAML app. Done when every relying party confirms it holds the new certificate and a test sign-in succeeds against it in staging.

  4. Connect the directory and test sign-ins

    Set up the user source the new platform reads from. If Active Directory stays the source, any Okta AD agent is retired and users are read through LDAP or Active Directory federation in Keycloak or authentik, depending on the target. AD FS deployments already rely on Active Directory, so the same accounts can be tested directly. The team signs in test accounts that are active, disabled, locked and in restricted groups, and checks that group mapping gives the expected roles. Done when every test account produces the expected result and the group mapping is documented.

  5. Plan MFA enrollment and third-party MFA integration

    List the MFA methods users have today and every MFA provider wired into AD FS or Okta. AD FS lets third-party MFA providers integrate through an extensible mechanism that has no certification program, so each provider integration must be rebuilt and tested on the target platform. Confirm with each vendor whether enrolled factors can move, and plan re-enrollment as the default. The security team and app owners approve the enrollment sequence and the help desk script. Done when each MFA path has a tested integration and an approved enrollment plan.

  6. Export users and run parallel sign-in tests

    Export the user list from the source. For AD FS, users stay in Active Directory, so the directory itself is the source. For Okta, you can use the Password Health report CSV in the Admin Console, the community Rockstar browser extension, or the List Users API with a filter, and the output should include the attributes the target needs. If the target is Keycloak, its import and export guide warns that realm export is limited as a backup and restore method and that all nodes must be stopped while it runs, so plan the window around that. Run both systems in parallel for a test group and compare sign-ins, roles and MFA prompts. Done when test users sign in on both paths with matching results and the cutover plan is approved.

Okta vs Microsoft AD FS: questions buyers ask before they decide

How much does Okta cost compared with running Microsoft AD FS?

Okta sells Workforce Identity suites per user per month, billed annually, with a $1,500 annual contract minimum, so the bill grows with headcount and with the suite you buy. Starter includes Single Sign-On, Multi-Factor Authentication and Universal Directory. Essentials adds Adaptive MFA, Lifecycle Management and Access Governance. Enterprise adds API Access Management, Access Gateway and machine-to-machine tokens. Current per-user rates are on Okta pricing, so check them against your user count. AD FS is a Windows Server role, so its cost sits in Windows Server licensing for each federation and proxy server, the virtual machines or hardware under them, SQL Server if the farm outgrows the internal database, and staff time for patching and certificate management. Ask Microsoft to confirm the licensing position for your server count and edition, and ask every quote to price each component on its own line.

What should I confirm in an Okta contract before renewal?

Confirm the term length, the annual minimum, the renewal and notice language and the rules for adding users mid-term in writing, because those details sit in the order form and not on the public pricing page. Okta bills per user per month, billed annually, with a $1,500 annual contract minimum. Ask what happens to access and data at the end of the term and whether any notice period applies to cancellation. Before any renewal decision, export your active user list. Okta documents three methods: the Password Health report CSV in the Admin Console, the community Rockstar browser extension, or the List Users API with a filter. A user list does not carry app assignments, group rules or policies, so inventory those separately. The Okta export guide covers the user list steps.

What makes an identity migration from AD FS take longer?

The effort depends mostly on how many applications sign in through AD FS, which protocols they use and how many are legacy apps. No duration is given here, so ask for a timeline tied to your application count. Microsoft advises moving applications that use modern protocols such as SAML and OpenID Connect first. Applications on older protocols are integrated through Application Proxy or Secure Hybrid Access partners, which adds design and test work. Multi-factor authentication is another driver. AD FS lets third-party MFA providers integrate through an extensible mechanism with no certification program, so each MFA integration must be planned and tested against the applications that depend on it. Microsoft highly recommends migrating to Entra ID, so confirm early whether your target is Entra ID, Okta or a self-hosted platform, since the target changes the work.

What does our team need to provide before an SSO migration starts?

The work needs a current inventory of every application and relying party, a named owner for each one, agreed change windows and admin access to the systems involved. Gather these before kickoff:

  • An inventory of applications, their protocols and where each one authenticates
  • An owner who can test sign-in and approve cutover for each application
  • Change windows agreed with the business and the on-call team
  • Admin access to AD FS, Okta, the directory and the target identity platform

One detail is easy to miss: when the AD FS token-signing certificate changes, every relying party must be updated with the new certificate or its sign-ins fail. Ask the delivery team for a plan that names who updates each relying party and how the change is tested before the window opens.

Can our own admins migrate from AD FS without an outside partner?

For a small estate with strong identity skills, an in-house migration is feasible, and Microsoft provides tooling to start. The AD FS Migration Readiness Script runs on the AD FS server and assesses which applications are ready to migrate, and the AD FS application activity report in Entra ID shows which applications still sign in through AD FS. The AD FS decommission reference lists these resources. If you move to Keycloak, it supports SAML 2.0, OpenID Connect and OAuth 2.0 and can federate users from Active Directory. Plan around its export limits: the Keycloak documentation warns that realm export and import have limitations as a backup and restore method and that all nodes must be stopped while it runs. Bring in outside help when the estate has many relying party trusts, legacy applications that need proxying or a deadline your team cannot staff.

Does self-hosting an identity provider lower the ongoing cost?

It can lower the subscription line, but the cost moves to staff time, hosting, patching and upgrades. Keycloak is licensed under Apache 2.0, so the software itself carries no subscription fee, and vendor support is optional. authentik's core is MIT licensed, but its free edition offers community support only, and its Enterprise tier is listed at $5 per user per month billed annually plus $0.02 per external user per month on its pricing page. Your self-hosted cost includes servers or cloud instances, the database, high availability design, backups, security patching and on-call effort. Keycloak plans four minor releases a year, so budget staff time for regular upgrades. Compare the total over the same period against Okta's per-user bill, and ask any support provider to price support as a separate line.

How DeployOpen helps you decide and migrate

DeployOpen is a Chainscore Labs company that plans, implements, hardens, backs up, documents and supports self-hosted open-source identity platforms inside your own infrastructure. For Okta vs Microsoft AD FS, we start by agreeing on what stays in Okta or AD FS, what moves to Keycloak or authentik, and how the move is tested. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope lists which Okta or AD FS apps, groups and policies move and which stay.
  • Inventory covers SAML and OIDC apps and legacy apps behind Okta Access Gateway or AD FS Web Application Proxy.
  • Fixed-scope terms, with deliverables and timelines agreed in writing before any work starts, and retainers for ongoing support.

How we build

  • Deploy Keycloak or authentik in your cloud account, data center or air-gapped network, with SSO configured.
  • Connect AD users and groups through LDAP or directory federation in place of the Okta AD agent.
  • Re-federate each app, then test sign-in, MFA, claims and logout before cutover.

How we hand over

  • Documented configuration for every app, flow, policy and connector, so your team can review and rebuild it.
  • Backup and restore runbooks that account for Keycloak export limits and the need to stop all nodes during export.
  • Evidence packs for your compliance team on configured controls and logging, with audit reports issued by independent auditors.

How we support

  • Retest after fixes and confirm sign-in for every migrated app before decommissioning Okta or AD FS.
  • Ongoing retainers for upgrades, patching, backups and continuous testing after go-live.
  • Security testing of the new identity platform, including SSO flows and admin settings, before go-live.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.