Skip to content

Searching for SharePoint sites (via ?search parameter) #2807

@lvde0

Description

@lvde0

Describe the bug

It's not possible to search for sites using the example provided here: https://learn.microsoft.com/en-us/graph/api/site-search?view=graph-rest-1.0&tabs=csharp

It always generates the ?$search= parameter instead (notice the "$").

Expected behavior

It should generate GET /sites?search={query}

How to reproduce

See link above.

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions