AzureAD / microsoft-authentication-library-for-python

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".
https://stackoverflow.com/questions/tagged/azure-ad-msal+python
Other
799 stars 200 forks source link

Web-based application for Email retrieval: I keep running into AADSTS50059 Error when initiating device flow #545

Closed Bennse666 closed 1 year ago

Bennse666 commented 1 year ago

As mentioned in the Title: I am building an application to retrieve Emails (their attachments) and for some reason I keep running into the AADSTS50059 Error. I used the library before, to build a OneDrive App (which is working with no issues), so the authentication-code should be alright. However even the App in Azure should be set up correctly so I am in a bit of a loss..

I am not sure what further information is needed nor do I know how to replicate this issue specifically.

Bennse666 commented 1 year ago

Nevermind, found the error: Somehow the App_ID was invalid for over an hour after the App got created. Working now!