Open bimpbomp opened 3 years ago
Sorry there is currently no support for two factor authentication.
On Thu, Apr 15, 2021 at 9:25 AM Toby @.***> wrote:
I get the below error when trying to authenticate with the correct username and password. I am fairly certain this is due to the lack of a 2FA input, but I cannot find a function for this in the documentation. Is this supported by SharePlum in it's current state? If not, is there a known workaround?
File "C:\Users\tmorgan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\shareplum\office365.py", line 80, in get_security_token raise Exception('Error authenticating against Office 365. Error from Office 365:', message[0].text) Exception: ('Error authenticating against Office 365. Error from Office 365:', 'AADSTS50126: Error validating credentials due to invalid username or password.')
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jasonrollins/shareplum/issues/162, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOVTVWZCCX4APSEH66TFX3TI3ZNVANCNFSM427TSBLQ .
@jasonrollins is there any news about this yet?
any news?
You can use an app password to circumvent this issue. You can set your app password via https://account.activedirectory.windowsazure.com/AppPasswords.aspx and use that as the login details to connect to sharepoint.
Hello, After this Microsoft news https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online of the deprecation of basic authentication, how can we continue working with shareplum if it doesn't support MFA?
I get the below error when trying to authenticate with the correct username and password. I am fairly certain this is due to the lack of a 2FA input, but I cannot find a function for this in the documentation. Is this supported by SharePlum in it's current state? If not, is there a known workaround?
File "C:\Users\uname\AppData\Local\Programs\Python\Python37-32\lib\site-packages\shareplum\office365.py", line 80, in get_security_token raise Exception('Error authenticating against Office 365. Error from Office 365:', message[0].text) Exception: ('Error authenticating against Office 365. Error from Office 365:', 'AADSTS50126: Error validating credentials due to invalid username or password.')