Skip to content
Compare

Keycloak vs Microsoft Entra External ID and Azure AD B2C

Azure AD B2C has not been sold to new customers since 1 May 2025. Microsoft Entra External ID is where Microsoft now builds its customer identity. Both are Microsoft cloud services. Keycloak is open-source identity software, and RealmDeploy runs it for you, in Azure West Europe among other places.

Checked on · Sources

The short answer

Choose Entra External ID if you are deep in Microsoft’s cloud, want 50,000 monthly active users free, or need data kept in Australia or Japan. Choose Keycloak on RealmDeploy if you are leaving Azure AD B2C and do not want to rebuild custom policies for another Microsoft product, want LDAP federation, or want realms you can take to any cloud.

Side by side

Keycloak on RealmDeploy and Entra External ID

Every fact on the right comes from Entra External ID’s own public pages; the number after it opens the source.

TopicKeycloak on RealmDeployMicrosoft Entra External ID and Azure AD B2C
Hosting modelManaged Keycloak: a dedicated cluster for each customer, set up and run by our team on Azure or AWSMicrosoft cloud services. Azure AD B2C is no longer sold to new customers since 1 May 2025, and is supported until at least May 2030. External ID is where new features are built.12
OIDC, SAML and LDAPOpenID Connect, OAuth 2.0 and SAML 2.0, as identity provider and as a broker to outside providers. LDAP and Active Directory user federation.Apps sign in with OpenID Connect or SAML. Outside providers federate over OIDC, SAML or WS-Fed.23
User federation and migrationKeycloak’s own LDAP and Active Directory federation. We open the outgoing connection from your cluster to your directory.Just-in-time migration: a custom authentication extension checks each password against your old system at first sign-in4
Custom code and extensionsNot yet: tenant images run stock Keycloak, so custom providers, extensions and themes cannot be installed. Built-in flows, mappers and required actions are set in the admin console.Custom authentication extensions call your REST API at set events. B2C custom policies must be rebuilt, and Microsoft does not guarantee one-to-one parity.56
Pricing model and published pricesA price per plan, not per user, sized for about 5K, 100K or 500K active users. Starter $199/mo, billed monthly only. Premium $999/mo, or $799/mo billed yearly. Enterprise $2,499/mo, or $1,999/mo billed yearly. Custom through the contact form.Per monthly active user. The first 50,000 are free on the Basic tier, then $0.03 per MAU; add-ons are extra.73
Data residency and regionsAzure West Europe, AWS Frankfurt (eu-central-1) or AWS N. Virginia (us-east-1)Data location chosen when the tenant is created; Go-Local keeps data in Australia or Japan8
Uptime SLAStarter: best effort, no SLA. Premium: 99.9%. Enterprise: 99.95%.A percentage is not on the pages we read. Microsoft publishes the uptime it reached each month.9
SupportWritten only. Starter: next business day. Premium: first response within 4 hours on weekdays. Enterprise: 24×7 for urgent issues.Azure support plans: Basic included, Developer $29/mo, Standard $100/mo, Professional Direct $1,000/mo10

Their facts as published on 25 November 2026; a row is left out where we could not find a fact on their pages. Ours are on the pricing page.

What differs

The three differences that matter most

Azure AD B2C is closed to new customers

Microsoft stopped selling Azure AD B2C to new customers on 1 May 2025 and will support it until at least May 2030. Its own migration plan says B2C custom policies must be rebuilt as custom authentication extensions, without a promise of one-to-one parity. A B2C team rebuilds either way, so Keycloak is worth a look.

One cloud, or any cloud

External ID runs only in Microsoft’s cloud. Keycloak runs anywhere: we host it in Azure West Europe, AWS Frankfurt or AWS N. Virginia, and your realms export to any other Keycloak.

Per user, or per plan

External ID is free for the first 50,000 monthly active users and $0.03 for each one after, by Microsoft’s published price. Our plans are a fixed price, sized for about 5K, 100K or 500K active users.

Which fits

Where each one fits better

If the second list describes you better, Entra External ID is the better choice.

Choose Keycloak on RealmDeploy if
  • You are leaving Azure AD B2C and want to rebuild once, on software you can take anywhere.
  • You want LDAP or Active Directory federation for a realm of staff, next to a realm for customers.
  • You want a price per plan rather than per active user beyond 50,000.
  • You want realms you can export, users and password hashes included.
  • You want written answers about your realms from the team that runs them.
Choose Entra External ID if
  • You are deep in Microsoft’s cloud and want customer identity in the same tenant and bill.
  • You want to start free: the first 50,000 monthly active users cost nothing. We have no free plan.
  • You need data kept in Australia or Japan with Go-Local.
  • You want Microsoft’s support plans, from $29 a month, alongside the rest of your Azure support.
Migration

Moving from Entra External ID

We migrate from Azure AD B2C. Premium and Enterprise include 10 service hours a month, which we spend on the move with you. On Starter you run it yourself with our free migration tools. We did not find an export of password hashes on Microsoft’s pages. Passwords come across only when the source exports hashes Keycloak can verify. Otherwise users set a new password by email link the first time they sign in.

Moving from Azure AD B2C
Questions

About Keycloak and Entra External ID

Can I still buy Azure AD B2C?

Not as a new customer. Microsoft’s FAQ says Azure AD B2C is no longer available to purchase for new customers since 1 May 2025. Existing customers can keep using it, and Microsoft will support it until at least May 2030.

Is Entra External ID a new name for Azure AD B2C?

No. Microsoft’s External ID FAQ says it is not a new name for B2C. It is a separate product, and Microsoft calls it its next-generation customer identity, where new features are built.

Do my B2C custom policies carry over?

Not to External ID as they are. Microsoft’s migration plan says custom policy logic must be recreated with custom authentication extensions, and one-to-one parity is not guaranteed. They do not carry over to Keycloak either; there, the same logic is built with authentication flows and mappers.

Is External ID cheaper than RealmDeploy?

Up to 50,000 monthly active users it is free, so yes. Above that, Microsoft lists $0.03 per user per month on the Basic tier, plus add-ons. Our Premium plan is $999 a month, or $799 billed yearly, sized for about 100K active users.

Can RealmDeploy run in Azure?

Yes. Azure West Europe is one of our three regions, next to AWS Frankfurt and AWS N. Virginia.

Does Microsoft publish an SLA for External ID?

We did not find the percentage on the pages we read; Microsoft does publish the uptime it reached each month. RealmDeploy commits to 99.9% on Premium and 99.95% on Enterprise.

Want a cluster of your own?

Order a realm in the dashboard, or write to us first about what you run today.