adal
Note: This library is already replaced by MSAL Python, available here: https://pypi.org/project/msal/ .ADAL Python remains available here as a legacy. The ADAL for Python library makes it easy for python application to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources.
Install
adal on PyPI
pip
pip install adaluv
uv add adalpoetry
poetry add adalPackage facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — PyJWT, requests, python-dateutil, cryptography |
| Maintenance | abandoned — 1,956 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: adal-1.2.7-py2.py3-none-any.whl
About adal
from the package's own PyPI description — quoted content, verbatim
Microsoft Azure Active Directory Authentication Library (ADAL) for Python
master branch |
dev branch |
Reference Docs |
|---|---|---|
| Build Status (image) | [![Build... |
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources. This library is now superseded by MSAL for Python and receives no new feature development.
Low install friction with four stable runtime dependencies (PyJWT, requests, python-dateutil, cryptography). However, the package is abandoned as of 2021-04-05 with no active maintenance; the repository is archived and the maintainers explicitly recommend migrating to MSAL for Python for new projects.
MIT license permits broad use, modification, and distribution with minimal restrictions, suitable for most commercial and open-source contexts.
Usage
pip install adal==1.2.7
from adal import AuthenticationContext
context = AuthenticationContext('https://login.microsoftonline.com/{tenant_id}')
token = context.acquire_token_with_username_password(
'https://graph.microsoft.com', username, password
)
Requires valid Azure AD tenant ID and credentials; this library is deprecated and Microsoft recommends MSAL for Python for new applications.
Verdict: ADAL is a mature, permissively licensed library with low install friction, but it is abandoned and explicitly superseded by MSAL for Python. Use only for maintaining existing applications; do not adopt for new projects. No known security vulnerabilities are recorded, but the lack of maintenance means future issues will not be addressed.
Needs verification
- Whether the 1956 days since last release (2021-04-05) reflects the true end-of-life date or if maintenance has resumed
- Compatibility of ADAL 1.2.7 with Python versions beyond 3.6, given classifier claims only through 3.6
- Real-world adoption rate and whether the top_1000 tier reflects legacy usage or active new deployments
Similar packages
permissive · top 1,000 on PyPI
msalpermissive · top 1,000 on PyPI
msal-extensionspermissive · top 1,000 on PyPI
azure-datalake-storepermissive · top 1,000 on PyPI
msrestazurepermissive · top 1,000 on PyPI
azure-cosmospermissive · top 1,000 on PyPI
google-auth-oauthlibpermissive · top 1,000 on PyPI
oauth2clientpermissive · top 1,000 on PyPI
idpermissive · top 1,000 on PyPI
databricks-sql-connectorpermissive · top 1,000 on PyPI