We suspect Okta's authentication service is preventing us from logging into Sharepoint O365. Looking for a solution that allows us to login to Sharepoint O365 through Okta's MFA service.
Python app response with correct/incorrect password and/or correct/incorrect user id:
Enter id: smithjo1
Enter password:
Connecting with id: smithjo1@company.net
Exception (ERPY-1.0.3) Unable to upload file to SharePoint: MobaXterm Sessions7.mxtsessions
error: Token request failed. Invalid server response
exception: Token request failed. Invalid server response (<class 'sharepy.errors.AuthError'>)
function: uploadSharepoint() at line 62
*** source: sp = sharepy.SharePointSession("https://company.sharepoint.com", auth)
Token request failed. Invalid server response Unable to upload file to SharePoint: MobaXterm Sessions7.mxtsessions
We suspect Okta's authentication service is preventing us from logging into Sharepoint O365. Looking for a solution that allows us to login to Sharepoint O365 through Okta's MFA service.
Python app response with correct/incorrect password and/or correct/incorrect user id:
Exception (ERPY-1.0.3) Unable to upload file to SharePoint: MobaXterm Sessions7.mxtsessions error: Token request failed. Invalid server response exception: Token request failed. Invalid server response (<class 'sharepy.errors.AuthError'>) function: uploadSharepoint() at line 62 *** source: sp = sharepy.SharePointSession("https://company.sharepoint.com", auth) Token request failed. Invalid server response Unable to upload file to SharePoint: MobaXterm Sessions7.mxtsessions
XML from microsoft federation service: https://login.microsoftonline.com/GetUserRealm.srf?login=smithjo1@company.net&xml=1
Python app source code snippet:
Thank you.