Microsoft Authentication Library (MSAL) Preview for .NET
Clone or download
Latest commit f60a0f5 Jan 22, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update bug report template because it uses the ADAL one Jan 8, 2019
build Update credscan-exclusion.json Jan 22, 2019
samples/desktop/SampleApp Remove Appveyor, Appstore, and Adhoc build config Jan 10, 2019
src Trwalke/msal ios appcenter migration master (#768) Jan 19, 2019
tests Use lab apps for selenium tests instead of hardcoded apps Jan 21, 2019
.gitignore Split MSAL form the Unified repo (lots of moved files and namespace f… Dec 7, 2018
Directory.Build.props Add support for Visual Studio for Mac build (#753) Jan 3, 2019
LICENSE Fixing #945 by: re-adding ADAL.NET's: Jan 18, 2018
LibsAndSamples.sln Trwalke/msal ios appcenter migration master (#768) Jan 19, 2019
LibsAndUITests.sln Remove Appveyor, Appstore, and Adhoc build config Jan 10, 2019
LibsMacOS.sln Trwalke/msal ios appcenter migration master (#768) Jan 19, 2019
LibsNoSamples.sln Fix sln Jan 22, 2019 Update Dec 7, 2018 Fixing #945 by: re-adding ADAL.NET's: Jan 18, 2018
build.cmd Henrikm/buildandutestupdates (#1050) May 21, 2018
buildAll.cmd Remove VS 2015 steps from build scripts Aug 1, 2018
buildNoVS.cmd Remove VS 2015 steps from build scripts Aug 1, 2018
buildVS2017.cmd Remove some unused build / test / readme artifacts (#1236) Aug 29, 2018
changelog.txt initial commit (#782) Jan 14, 2019 Update (#1112) Jul 10, 2018
gitclean.cmd Henrikm/buildandutestupdates (#1050) May 21, 2018
global.json fix global.json Jan 7, 2019
restore.cmd Modify MSAL to build explicitly against netcore Aug 10, 2018
strongname.cmd Fix strongname script for uap10 Aug 3, 2018
verify.cmd Henrikm/buildandutestupdates (#1050) May 21, 2018

Microsoft Authentication Library (MSAL) Preview for .NET, Windows Store, UWP, NetCore, Xamarin Android and iOS

The MSAL library for .NET gives your app the ability to begin using the Microsoft Cloud by supporting Microsoft Azure Active Directory and Microsoft Accounts in a converged experience using industry standard OAuth2 and OpenID Connect. The library also supports Azure AD B2C.

Quick links:

Conceptual documentation Getting Started Sample Code Library Reference Support

Nuget packages

Released Nightly
NuGet MyGet

Build Status

DEV Build Status


Where do I file issues

This is the correct repo to file issues

Important Note about the MSAL Preview

This library is suitable for use in a production environment. We provide the same production level support for this library as we do our current production libraries. During the preview we may make changes to the API, internal cache format, and other mechanisms of this library, which you will be required to take along with bug fixes or feature improvements. This may impact your application. For instance, a change to the cache format may impact your users, such as requiring them to sign in again. An API change may require you to update your code. When we provide the General Availability release we will require you to update to the General Availability version within six months, as applications written using a preview version of library may no longer work.


  • Windows 7 or greater
  • .NET 4.5 or greater
  • .NET Core 2.0 or greater

Community Help and Support

We use Stack Overflow with the community to provide support. We highly recommend you ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.

If you find and bug or have a feature request, please raise the issue on GitHub Issues.

To provide a recommendation, visit our User Voice page.


We enthusiastically welcome contributions and feedback. You can clone the repo and start contributing now. Read our Contribution Guide for more information.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

Security Library

This library controls how users sign-in and access services. We recommend you always take the latest version of our library in your app when possible. We use semantic versioning so you can control the risk associated with updating your app. As an example, always downloading the latest minor version number (e.g. x.y.x) ensures you get the latest security and feature enhancements but our API surface remains the same. You can always see the latest version and release notes under the Releases tab of GitHub.

Security Reporting

If you find a security issue with our libraries or services please report it to with as much detail as possible. Your submission may be eligible for a bounty through the Microsoft Bounty program. Please do not post security issues to GitHub Issues or any other public site. We will contact you shortly upon receiving the information. We encourage you to get notifications of when security incidents occur by visiting this page and subscribing to Security Advisory Alerts.

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License (the "License");