shareplum icon indicating copy to clipboard operation
shareplum copied to clipboard

Error Authenticating to Office365 with SSO

Open marker-techteam-admin opened this issue 5 years ago • 7 comments

Hi,

I'm getting this error when trying to authenticate.

Exception: ('Error authenticating against Office 365. Error from Office 365:', 'AADSTS50126: Error validating credentials due to invalid username or password.')

I have a business Office 365 account where I access through SSO with Okta.

marker-techteam-admin avatar Apr 28 '20 13:04 marker-techteam-admin

I get the same error. My O365 is federated with on-premise ADFS. Any insight if the SSO configuration should work or not would help.

ashishpai25 avatar May 31 '20 06:05 ashishpai25

I have the exact same issue using federated services with on-prem ADFS. I'm hoping someone knows how to get around this to access SharePoint.

Litchfield-TWOSE avatar Jun 03 '20 17:06 Litchfield-TWOSE

I have also the same issue when try to access the files that were shared in SharePoint.

Error: 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.')

Pear1125 avatar Jul 13 '20 16:07 Pear1125

Same issue, bumping for visibility.

tcauduro avatar Oct 30 '20 19:10 tcauduro

Have you tried using the latest requests library?

jasonrollins avatar Oct 31 '20 01:10 jasonrollins

Same issue, I have requests version 2.24.0 and shareplum 0.5.1

ghost avatar Nov 03 '20 18:11 ghost

Same issue as well

dpolintan avatar Jun 24 '21 15:06 dpolintan