Microsoft Authentication Library (MSAL) for Python makes it easy to authenticate to Microsoft Entra ID. General docs are available here https://learn.microsoft.com/entra/msal/python/ Stable APIs are documented here https://msal-python.readthedocs.io. Questions can be asked on www.stackoverflow.com with tag "msal" + "python".
New feature: MSAL supports a confidential client being authenticated by a pre-signed assertion. Usage:
This can be useful for where the signing takes place externally for example using Azure Key Vault (AKV). AKV sample included (#161, #271).
Improvement: Skip unnecessary and repetitive region detection. (#372, #373)