msgraph-sdk-go icon indicating copy to clipboard operation
msgraph-sdk-go copied to clipboard

extra $ sign on ListSites "search" query param

Open galoslevy opened this issue 2 years ago • 1 comments

when setting the query params of listSites request using RequestInformation class, the template used for preparing the URL uses "$search" while the API expects "search" without the "$" sign.

To work around it I had to patch the httpRequest manually: "httpRequest.URL.RawQuery = "search=%2A"

However, currently it is not supported using the SDK.

Thanks

galoslevy avatar Jul 13 '23 13:07 galoslevy

Hi @galoslev

Thanks for using the Go SDK and for reaching out. Looking at the v1 service metadata, this search parameter has been referenced with the dollar sign. I've created a new issue to track and resolve this issue.

rkodev avatar Feb 14 '24 10:02 rkodev