sharepy icon indicating copy to clipboard operation
sharepy copied to clipboard

Simple SharePoint authentication for Python

Results 37 sharepy issues
Sort by recently updated
recently updated
newest added

` authcookie = Office365(base_path, username=username, password=password).GetCookies() session = requests.Session() session.cookies = authcookie session.headers.update({'user-agent': 'python_bite/v1'}) session.headers.update({'accept': 'application/json;odata=verbose'}) session.headers.update({'X-RequestDigest': 'FormDigestValue'}) response = session.post(url = base_path + "/sites/" + site_name + "/_api/web/GetFolderByServerRelativeUrl('" +...

I'm using below lines to upload a file to subdirectory of Sharepoint online which has ADFS in background but this is never working for me to upload. Python code: ```python...

Hi! I have been running sharepy for a couple of weeks without any issues. However when I tried connecting today the authentication failed and I got the following error: `sharepy.errors.AuthError:...

I am getting the following error while trying to download a file using sharepy.Kindly help sharepy.errors.AuthError: Authentication Failure: AADSTS50005: User tried to log in to a device from a platform...

Hey Jonathan, thanks for the quick replies so far. As suggested in the last Issue (https://github.com/JonathanHolvey/sharepy/issues/47) I freshly downloaded the beta v2.0.0 Branch and tried running a small test script...

After successful login via Sharepy I try to fetch two URL's from the SharePoint where the home leads to 403 and the api leads to 200? What is going on...

Hello, just the fisrt step. ``` import sharepy sharepy.connect('sharepoint.example.gr', '[email protected]', password='xaaxax') ``` I also have tried with 'https://sharepoint.example.gr'. The error message is : "ConnectionError: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with...

A release of SharePy v2 has been in the works for quite a while, but has been held up due to a lack of testing. This release introduces support for...

help wanted

I'm unable to connect to sharepoint O365 with an email + password: the error message I receive seems not to have been reported yet: `Invalid Request: AADSTS90023: Invalid STS request`...

help wanted

The load function would crash because the session.auth.login() call requires a website, so I passed the session.site to it. There is still a bug in which the refresh() and login()...