'Accessing Sharepoint using Python
Need your help in accessing sharepoint list in my org. below is the code i'm using. After logging into sharepoint i wanted to access list and modify few fields to it.
from shareplum import Site
from requests_ntlm import HttpNtlmAuth
from shareplum.site import Version
cred = HttpNtlmAuth('some_user_email_id', 'password')
site = Site('https://findout.america.net',version=Version.v2019 , auth= cred)
i had used authorize cookies as well, it didn't work.
Error:
shareplum.errors.ShareplumRequestError: Shareplum HTTP Post Failed : HTTPSConnectionPool ***some text ** _vti_bin/Sites.asmx (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)')))
Tools Being used: Sharepoint On-Premise Version 2019 Python 3.7 in pycharm IDE
Let me know if anything needs clarification.
Regards,
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
