Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

OnPremise SharePoint

Open lathakris opened this issue 1 year ago • 1 comments

Can I use the 'Office365-REST-Python-Client' for an OnPremise SharePoint. I need to do operations like listing the document libraries, downloading files, tagging files etc.

I am able to successfully use this for Online SharePoint.

Thank you.

lathakris avatar Apr 22 '24 21:04 lathakris

I think I am able to use this by passsing 'allow_ntlm' flag as below. thank you

ctx = ClientContext(site_url).with_user_credentials(username, password, allow_ntlm=True) web = ctx.web.get().execute_query() print(web.url)

lathakris avatar Apr 26 '24 01:04 lathakris