This library, ADAL for Python, will no longer receive new feature improvements. Instead, use the new library MSAL for Python.
- If you are starting a new project, you can get started with the MSAL Python docs for details about the scenarios, usage, and relevant concepts.
- If your application is using the previous ADAL Python library, you can follow this migration guide to update to MSAL Python.
- Existing applications relying on ADAL Python will continue to work.
Microsoft Azure Active Directory Authentication Library (ADAL) for Python
|Getting Started||Docs||Python Samples||Support|
The ADAL for Python library enables python applications to authenticate with Azure AD and get tokens to access Azure AD protected web resources.
You can learn in detail about ADAL Python functionality and usage documented in the Wiki.
Installation and Usage
You can find the steps to install and basic usage of the library under ADAL Basics page in the Wiki.
Samples and Documentation
We provide a full suite of Python sample applications on GitHub to help you get started with learning the Azure Identity system. This will include tutorials for native clients and web applications. We also provide full walkthroughs for authentication flows such as OAuth2, OpenID Connect and for calling APIs such as the Graph API.
There are also some lightweight samples existing inside this repo.
You can find the relevant samples by scenarios listed in this wiki page for acquiring tokens using ADAL Python.
This library follows Semantic Versioning.
You can find the changes for each version under Releases.
Community Help and Support
We leverage Stack Overflow to work with the community on supporting Azure Active Directory and its SDKs, including this one! We highly recommend you ask your questions on Stack Overflow (we're all on there!) Also browser existing issues to see if someone has had your question before.
We recommend you use the "adal" tag so we can see it! Here is the latest Q&A on Stack Overflow for ADAL: https://stackoverflow.com/questions/tagged/adal
If you find a security issue with our libraries or services please report it to email@example.com 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.
All code is licensed under the MIT license and we triage actively on GitHub. We enthusiastically welcome contributions and feedback. Please read the contributing guide before starting.