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
Using AzureCP 16.0, in the people picker, you type a value with a single quote, for example: user', and it returns an error.
In the logs, AzureCP records this:
06/12/2020 09:54:22.11 w3wp.exe (0x1818) 0x0570 AzureCP Lookup 1337 VerboseEx [AzureCP] Querying Azure AD tenant 'TENANT.onMicrosoft.com' for users/groups/domains, with input 'user''
06/12/2020 09:54:22.16 w3wp.exe (0x1818) 0x0570 AzureCP Lookup 1337 Unexpected [AzureCP] Unexpected error(s) occurred while querying Azure AD tenant 'TENANT.onMicrosoft.com': [EXCEPTION 1]: Microsoft.Graph.ServiceException: Code: BadRequest Message: Invalid filter clause Inner error:
* Fix error when earching users with a single quote in the people picker - #88
* Use batch requests when relevant to optimize network performance
* Avoid potential null reference exception in method AzureCP.ProcessAzureADResults() and ensure that method AzureCP.QueryAzureADTenantAsync() never returns null
* Update target framework to v4.6.1
* Update NuGet package Microsoft.Graph 1.21.0 -> Microsoft.Graph 3.8.0
* Update NuGet package Microsoft.IdentityModel.Clients.ActiveDirectory 5.2.6 -> Microsoft.IdentityModel.Clients.ActiveDirectory 5.2.7
Using AzureCP 16.0, in the people picker, you type a value with a single quote, for example: user', and it returns an error.
In the logs, AzureCP records this:
Cause:
Single quotes should be double escaped as documented in https://docs.microsoft.com/en-us/graph/query-parameters#escaping-single-quotes
The text was updated successfully, but these errors were encountered: