You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
Hi, this has nothing to do with the pyo365 library.
The filters (and number of filters) allowed by Microsoft on the graph (and office 365 Rest ) api are very obscure and varies depending on the resource retrieved.
Currently the OData keyword 'endswith' is not supported by Microsoft Graph (who knows in the future).
For example the 'contains' keyword is sometimes supported. But not in the 'users' endpoint that the global address book uses.
Try to use the Graph Explorer to see if the filters you apply work or not.
I seem to be having problems using a query with multiple parameters. The code below works if the "q.endswith" line is removed.
Client Error: 400 Client Error: Bad Request for url: https://graph.microsoft.com/v1.0/users?%24top=5&%24filter=startswith%28displayName%2C+%27John%27%29+and+endswith%28displayName%2C+%27Smith%27%29
The text was updated successfully, but these errors were encountered: