Office365-REST-Python-Client
Office365-REST-Python-Client copied to clipboard
Microsoft 365 & Microsoft Graph Library for Python
I'm attempting to add a user to my SharePoint site who does not already exist using the `ensure_user` function in the `office365.sharepoint.webs.web` file. However, I'm facing an error that the...
Looking at the docs for Onedrive, it shows how we can download files from users root folder. https://github.com/vgrem/Office365-REST-Python-Client Is there a way to list and download all files from users...
Hello @vgrem @GitSumito , came across the issue https://github.com/vgrem/Office365-REST-Python-Client/issues/654 question on how to get the user_assertion for the below ? msal_app.acquire_token_on_behalf_of(user_assertion=id_token,scopes=["https://graph.microsoft.com/.default"]) Per the below link, it seems it needs user...
I have a list of users where i have to change the displayName. Doing this user by user works. I tried to do this using a batch-query like this. `app_client`...
Is there a method to fire Delta Query for SharePoint Documents using Office365-REST-Python-Client?
Hi, Is there a method to fire Delta Query for SharePoint Documents using Office365-REST-Python-Client?
Going through the Microsoft recommendations for throttling, https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online 1. Choose [Microsoft Graph APIs](https://learn.microsoft.com/en-us/graph) over CSOM and REST APIs when possible 2. Use the Retry-After and RateLimit HTTP headers 3. Decorate...
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").top(50)` along with `get()`;...
Hi Guys, I know this is all about OData but I search the whole internet and could not find my answer. Its really simple , I just need to get...
I am trying to use this module inside an Ansible inventory script to retrieve hosts from a SharePoint list. This works well in a recent (3.11) Python version, but unfortunately...
Hello @vgrem Could you please advise how could I solve this: **ConnectionError (Caused by NameResolutionError(": Failed to resolve '[myCompany].sharepoint.com' ([Errno 11001] getaddrinfo fail** As background, we were using sharepoint 2013...