You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with the version 2.1.7.post1 (according to pip freeze), no MFA required to log in sharepoint.
I'm currently trying to get an excel file from the company's sharepoint, with the following script (built from README of the project) :
Running this script provides the following output : An error occurred while retrieving auth cookies from https://mycompany.sharepoint.com/sites/documentssite//_vti_bin/idcrl.svc
Some details about the issue
I noticed by running this script in debug mode, that the issue comes from the method acquire_authentication_cookie of the class SamlTokenProvider
Actually, the method is called with federated=True so the HTTP request is done at https://mycompany.sharepoint.com/sites/documentssite//_vti_bin/idcrl.svc with the HEAD method. You can find below the part where it fails :
2.1.7.post1 is a bit outdated at the moment, could you please give it another shot but with the latest version (2.1.10.1 at the moment), it could be downloaded via GitHub:
Hello there,
Context of the issue
I'm working with the version 2.1.7.post1 (according to pip freeze), no MFA required to log in sharepoint.
I'm currently trying to get an excel file from the company's sharepoint, with the following script (built from README of the project) :
Running this script provides the following output :
An error occurred while retrieving auth cookies from https://mycompany.sharepoint.com/sites/documentssite//_vti_bin/idcrl.svc
Some details about the issue
I noticed by running this script in debug mode, that the issue comes from the method
acquire_authentication_cookie
of the classSamlTokenProvider
Actually, the method is called with
federated=True
so the HTTP request is done at https://mycompany.sharepoint.com/sites/documentssite//_vti_bin/idcrl.svc with the HEAD method. You can find below the part where it fails :The response does not contain any cookie, that's why I get the message error.
By the way, I got the same problem when I set url to 'https://mycompany.sharepoint.com'.
Let me know if I haven't given enough details about the issue.
Thank you in advance !
The text was updated successfully, but these errors were encountered: