Skip to main content

Questions tagged [python]

0 votes
0 answers
7 views

Trying to fetch values from sharepoint list using graph API in python. Can able to fetch all values except newly added Person or Group columns. Can able to fetch existing Person or Group column Can ...
TTS's user avatar
  • 1
0 votes
0 answers
44 views

I've been trying to get setup with a Python app to programmatically connect to Sharepoint and get a file. End goal is to get the contents of a file in a known location (folder) on a company Sharepoint....
simplycoding's user avatar
0 votes
0 answers
69 views

I had previously been developing an app that would connect to SharePoint and allow for basic REST operations to handle org compliance. This tool used a third party library to handle this, but I was ...
Fennario's user avatar
0 votes
0 answers
33 views

I could read content for the excel cells or ranges via the Excel Service REST api using GET method. Is there any way to set the content? I tried with following url, but it only returns the updated ...
Baomei's user avatar
  • 1
0 votes
1 answer
607 views

I currently have a local Python script that takes a CSV file (downloaded manually from SharePoint using the "Export as CSV" button) as input, processes the data, and generates a custom ...
Cycle3076's user avatar
0 votes
1 answer
92 views

My python script below to upload a file (without a specific user account) to a sharepoint is working, however only when I upload to the root. When I try to use the url of a sub-site I receive a 403 ...
djangonaut's user avatar
0 votes
1 answer
169 views

I have kept some files in a Share Point folder. I need to run a python script to update the files daily. Code - from office365.runtime.auth.authentication_context import AuthenticationContext from ...
MVKXXX's user avatar
  • 101
1 vote
0 answers
456 views

I want to automate downloading all the documents in multiple SharePoint sites with python, so I want a way to get all folders and files in a "Shared Documents" library in SharePoint sites. ...
Ihab's user avatar
  • 11
0 votes
2 answers
718 views

I'm using Office365-REST-Python-Client to access some files from Sharepoint through a Python script (using App-only method) a code example would be this: credentials = ClientCredential(x, y) ctx = ...
sh-hdoafsid's user avatar
0 votes
0 answers
2k views

I'm trying to upload files automatically from a python script using the office365.sharepoint package. I can authenticat using a client id and secret (app_principal). However, when I try to get a file ...
giglgogl's user avatar
0 votes
1 answer
1k views

I am currently trying to read only the last week's entries of a few lists, and I accomplish this by using filter("Modified gt datetime{date_in_isoformat}') or order_by("Modified desc")....
TwoPointNo's user avatar
1 vote
0 answers
1k views

I am trying to post message on a teams channel but I am not able to do that. I have got the required permissions also - Teamwork.Migrate.All. The following code snippet is being used: import requests ...
Kompal's user avatar
  • 21
0 votes
1 answer
494 views

I have a python script which uses some python libraries to do decrypting and encryption . Is there a way where I can invoke this script inside the webpart code.
Sathrya Selvin's user avatar
1 vote
1 answer
3k views

Initially when I tried to generate the token using the URL - https://login.microsoftonline.com/tenant-id/oauth2/v2.0/token I was able to fetch the Bearer token using grant_type, client_id, scope and ...
Kompal's user avatar
  • 21
0 votes
1 answer
1k views

400 Client Error: Bad Request for url: https://XXXXX.sharepoint.com/sites/QE/_api/Web/getFolderByServerRelativeUrl('Shared Documents/product-health-metrics')/Files/add(overwrite=true,url='C:/Users/...
Kompal's user avatar
  • 21

15 30 50 per page