Azure OAuth2 and outrageous price: Do all users need to be in Active Directory at $6/month/user?

Viewed 1241

We'd like to start using OAuth2 for SSO for a family of web apps. One solution is to use OAuth2 provided by Azure. It just looks unreasonably expensive, and I'm thinking there must be something I've missed.

As I understand it from Microsoft identity platform (v2.0) overview - Azure, any users that need to login with Azure's OAuth2 solution need to be in Active Directory. We don't need the users to be able to do anything else but log in to our apps, but we do want them to be our accounts and not any other accounts they may have with Microsoft already.

Looking at the AD price list, we're talking $6 user/month, if we want "Company branding (customization of logon & logout pages, access panel)" and SLAs which we do.

So assuming we have say 100,000 users that is $600,000 pr month just for OAuth2 so they can log in? Even if we could go through a "Diamond-gold-platinum partner" or something and could get that at a 1/10 of the price, it is still outrageous.

Other alternatives we're considering are Auth0, Okta or hosting our own Keycloak instance(s), so there are (much) cheaper alternatives, but is this the cheapest way to use OAuth2 for app logins with Azure's hosted OAuth2?

And will this interfere with other identities they also have with Microsoft, e.g. any Office365 accounts that have nothing to do with our applications?

3 Answers

If you're looking for an enterprise identity service for your organization's users (and apps, devices, groups, etc.), then yes, Azure Active Directory Premium P1 will give you (with a whole bunch of additional capabilities and SLA) and currently costs somewhere around $6/user/month.

However, if you're simply looking for an identity provider for your app(s) which works for any user (not necessarily users and collaborators from one organization), then you may be looking for for a consumer identity and access management (CIAM) product. In the Microsoft identity products, this would be Azure AD B2C (pricing), which gives you full customization of the sign-in and sign-up experience, user profile storage, multi-factor authentication, and OpenID Connect/OAuth 2.0 on top of all that.

Interesting - I think this will only partially answer your question but hopefully it helps to provide a direction:

USER SETUP

Sounds like you want to add users under your own organisation, such as 'yourcompany.com' and assign users an email based on their own company: 'john.smith@somepartner.com'.

I'm pretty certain that will work fine, since any other Azure accounts with the same email are different user objects:

  • When a user logins in at login.yourcompany.com and the email is entered, the account will be matched within your Azure AD domain.

KEEP YOUR OPTIONS OPEN

Features and costs of Vendor Authorization Servers are ever changing and all of them have annoyances. I'd recommend an early focus on risks / show stoppers.

One useful mechanism is a simple code sample that focuses on aspects such as login branding, and can be pointed to any standards compliant Authorization Server.

KEEP YOUR UI AND API CODE PORTABLE

Integrating OAuth 2.0 into your UIs and APIs effectively involves a learning curve. Keep your UIs and APIs standards based and use the best libraries.

RESOURCES

If interested in this approach, some Visual Posts of mine may be useful, which include:

If you just wanted to host user accounts and sign them to various apps using OpenId and OAuth, the free edition will suffice.

Now if you start exploring options like 'Company branding (customization of logon & logout pages, access panel)', then yes they cost money.

Related