Rolf Lussi
Rolf Lussi
The same **empty** site result list for **SDK v.6.16.0** and **UsernamePasswordCredential** provider https://github.com/microsoftgraph/msgraph-sdk-java/issues/2184
@Ndiritu I have no problem with permissions, it works for SDK version 5.80.0. I trying to use site search now, but it returns error "com.microsoft.graph.models.odataerrors.ODataError: Syntax error: character '*' is...
@Ndiritu empty search for me cause error: `com.microsoft.graph.models.odataerrors.ODataError: Expression expected at position 0 in ''.` a search query like "all" returns for me only 3 sites when Java SDK 5.80.0...
> ```java > .withUrl("https://graph.microsoft.com/v1.0/sites?select=id,name&search=").get() > ``` @Ndiritu withUrl() works for me, thank you! Tell me please, will this bug be fixed in the next SDK releases?
Make some additional queries: 1. Search query like `"*"`: ``` graphServiceClient.sites() .get(requestConfiguration -> { var queryParameters = requestConfiguration.queryParameters; queryParameters.select = new String[]{SELECT_SITE_NAME}; queryParameters.search = "*"; }) .getValue() ``` Expected: get...
Work solution: https://github.com/microsoftgraph/msgraph-sdk-java/issues/2090#issuecomment-2390888773 Please tell me, will this bug be fixed in the next SDK releases?