Vadim Gremyachev
Vadim Gremyachev
A new version has been released: [`2.3.14`](https://github.com/vgrem/Office365-REST-Python-Client/releases/tag/2.3.14) which contains a fix for this issue.
Greetings, seems like the issue on library side. Could you update to the latest version (`2.4.2` at moment) and give it another shot?
You're right, due to refactoring (i.e. file renaming) should had probably been released under `2.4.0` version, sorry for the inconvenience. `3.0.0` still reserved for release where support for Python 2.7...
How about passing proxies argument as demonstrated below? ```python from office365.runtime.auth.client_credential import ClientCredential from office365.sharepoint.client_context import ClientContext def set_proxy(request): proxies = {site_url: 'https://127.0.0.1:8888'} request.proxies = proxies ctx = ClientContext(site_url).with_credentials(ClientCredential(client_id, client_secret))...
Greetings, thank you for catching it and providing the detailed analysis! Regarding: > I did some research and found that for AttachmentCollection->resourcePath->parrent is missing and thats why url looks like...
It is, just verified it against the example:[ `UploadAttachment.php`](https://github.com/vgrem/phpSPO/blob/master/examples/SharePoint/ListItems/UploadAttachment.php), seems to be working as expected.
Greetings, are you trying to get connected to SharePoint On-Premises? If so, try to utilize `NetworkCredentialContext class` instead. Follow [`NtlmConnectExample.php` example](https://github.com/vgrem/phpSPO/blob/master/examples/SharePoint/NtlmConnectExample.php) for a more details.
Greetings, good to know :) Speaking of Teams API, confirm and agree, the support might be rather poor, specifically with operations, sorry about that. Will look into closely some later...
Greetings, this might be the case ([source](https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly-azureacs)): > For new tenants, apps using an ACS app-only access token is **disabled** by default. How to determine whether App-Only auth is enabled:...
Greetings! `GraphClient `class constructor accept a _callback_ function as an input argument, for example: ` client = GraphClient(acquire_token_by_client_credentials) ` where ```python def acquire_token_by_client_credentials(): authority_url = 'https://login.microsoftonline.com/{0}'.format(tenant_name) app = msal.ConfidentialClientApplication( authority=authority_url,...