0

I have some problems with the access to the Rest_API Sharepoint (Python) I'm using Shareplum library but I have an issue about the authenticacion oficce 365.

Could you help me with that problem?. Thanks in advance!!

Code:

from shareplum import Site from shareplum import Office365 from shareplum.site import Version from shareplum import Site

authcookie = Office365('https://mysharepoint.com', username='userkey', password='password').GetCookies() site=Site('https://mysharepoint.com/sites/seccion/', version=Version.v365, authcookie=authcookie)

Note: the version is correct Username and Password don't have strange characters

Out:

Exception: ('Error authenticating against Office 365. Was not able to find an error code. Here is the SOAP response from Office 365', b'<?xml version="1.0" encoding="utf-8"?><......

0 Answers0