Skip to content
Unified OAuth provider for Microsoft work, school, and personal accounts to be used with ASP.NET 4.5 OWIN
C# Batchfile
Branch: master
Clone or download


MicrosoftOnline is the unified OAuth and OpenID provider for both Azure AD (aka Microsoft work/school) accounts used with Office 365 and Microsoft Accounts (aka Microsoft personal) accounts used with

Owin.Security.Providers.MicrosoftOnline provider supercedes both Owin.Security.Providers.AzureAD provider (which is a part of this repository) and Microsoft.Owin.Security.MicrosoftAccount provider (which is part of the Katana project).

ASP.NET MVC 5 Web apps that use ASP.NET Identity 2.0 with OWIN as described at can integrate with Office 365 and REST APIs using this middleware authentication provider (either for your tenant or multi-tenant).

This library was originally developed for and is in use at

This library is available as a NuGet package at

How to Use

See an example of how to configure your ASP.NET web app at

You can’t perform that action at this time.