Search across a SharePoint tenant sites: The query parameter '$search' is not supported

Tieming Sun 1 Reputation point

Hi, I'm from SharePoint migration team.

We are using graph API to search across a tenant's site. Starting from yesterday, graph API continuously gives 400 bad requests, saying the query parameter '$search' is not supported. However, according to the tutorial, it should be supported:

Wondering if it's a bug?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
906 questions
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,499 questions
Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
295 questions
Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 16,981 Reputation points Microsoft Vendor

    Hi @Tieming Sun ,
    Per my test, the API runs well and return 200. Please check the Permission first.
    The personal Microsoft account is not supported.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.