Questions tagged [python]

39 questions
0
votes
0 answers

Upload to sharepoint python okta sso login

I want to upload a file to share point, but it ask for a username and password as a real use case we might not be able to provide the details and we uses OKTA for authentication using SAML. Basically I don't want to store the username and password
0
votes
0 answers

The security validation for this page is invalid. when adding a file to a folder

I'm using the python office365 library and am repeatedly coming up against the same problem, encapsulated below where I'm trying to add a file: After setting the site url, folder etc., this is the code: my_folder = f"{siteurl}/{my_path}" from…
0
votes
1 answer

Bad Request for URL- 400

400 Client Error: Bad Request for url: https://XXXXX.sharepoint.com/sites/QE/_api/Web/getFolderByServerRelativeUrl('Shared…
Kompal
  • 21
  • 3
0
votes
0 answers

Using Office365-REST-Python-Client doesnt work on an external company's sharepoint

I've written a code in python using Office365-REST-Python-Client. It works perfectly well on myCompany's sharepoint site. But in another company's sharepoint site, I am getting auth token errors. I have owner priviledge in that sharepoint site. I…
mionnaise
  • 101