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
trafficstars

after proving username , sharepy stuck at password only enter key is working

bug

I am using the code below: `import sharepy import requests SPUrl = 'https://teamup..com/sites/pt/service/metrics/sitedata' username = '@.com' password = password s = sharepy.connect(SPUrl, username, password) s.save()` However, I keep getting the...

I'm getting ```Authentication Failure: AADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance.``` How can I fix it?

``` import sharepy s = sharepy.connect("https://xxx.sharepoint.com", username='[email protected]', password='xxx') with open("file.xlsx", "rb") as file_data: try: response = s.post(url = "{url of file}", data=file_data) except Exception as err: print("Some error occurred:",str(err)) ```...

We suspect Okta's authentication service is preventing us from logging into Sharepoint O365. Looking for a solution that allows us to login to Sharepoint O365 through Okta's MFA service. Python...

Hi, I am new in Python scripting, I am looking to download files directly to Sharepoint channel using Python instead of downloading it into the download folder. I don't want...

Hi Jonathan, I was able to download file using get method but not getting any success in uploading file to sharepoint location. Can you please suggest how to use post...

I am getting the following error message when trying to initiate a simple session. Any idea of what could be going wrong? ``` Error: `------------------------------------------------------------------------ AttributeError Traceback (most recent call...

help wanted

I get this error when running this code: File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 166, in resolve_redirects raise TooManyRedirects('Exceeded {} redirects.'.format(self.max_redirects), response=resp) requests.exceptions.TooManyRedirects: Exceeded 30 redirects. Can max_redirects be added to the code?

Is it possible sharepy will add support for batch requests in the future? [https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/make-batch-requests-with-the-rest-apis](https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/make-batch-requests-with-the-rest-apis)