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".
need to fix the version due to change in cryptography release. See ht…tps://github.com/pyca/cryptography/issues/6344 and https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst