Vadim Gremyachev
Vadim Gremyachev
In [`2.5.0` version](https://github.com/vgrem/Office365-REST-Python-Client/releases/tag/2.5.0) the support to download folder as a zip file has been intriduced, here is an example: ```python def print_progress(file): # type: (File) -> None print("File {0} has...
Hi, although this is the relatively old thread, but in case if anyone stumble upon it, here is an example how to create a sharing link for the file: ```python...
Although this is an old post, but if someone stumble upon this issue, try also specify `dates_in_utc=True` to ensure dates are specified in UTC format. Example: [`system_update.py`](https://github.com/vgrem/Office365-REST-Python-Client/blob/master/examples/sharepoint/listitems/system_update.py)
This issue has been addressed, here is an example: ```python client = GraphClient.with_client_secret(tenant_name_or_id, client_id, client_secret) client.users[user_principal_name_or_id].messages.add( subject="Meet for lunch?", body="The new cafeteria is open.", to_recipients=["[email protected]"], ).send().execute_query() ```
Turns out it was a library bug, namely the list item update request was not properly constructed. Thank you for reporting it! It has been addresed in a new [2.5.3...
Greetings @Barnard-87, assuming app principal is registered via [Azure AD](https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azuread), perhaps: - client secret key or certificate has been expired? - another reason, permissions might be missing, would also suggest...
@Barnard-87, in terms of permissions, how to grant permissions per application could be found in [this article](https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azuread) , section API permissions. In this approach, permissions are granted on tenant level,...
Hi there, it appears the error occurs since certificate file encoding could not be properly determined, [this thread](https://stackoverflow.com/questions/9233027/unicodedecodeerror-charmap-codec-cant-decode-byte-x-in-position-y-character) reveals a more details. There is alternative option available for passing certificate,...
Hi, most likely this error occurs since SharePoint app-only permissions is _disabled_ for you tenant, per [official documentation](https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs): > For new tenants, apps using an ACS app-only access token is...
Greetings, how about without providing `allow ntlm` parameter? In SharePoint Online environment NTLM is not supported.