Search on the site does not work if the site name consists solely of special characters.

S W 40 Reputation points
2024-09-26T17:46:15.02+00:00

I have a site with name '" * : < > ? / \ |'.

User's image

When I use the API below to search for my site, I don’t see any of my site information in the results. Instead, it shows some sites that are completely unrelated to my search query.

User's imageUser's image

Why could this happen? Did I put wrong query in my API? Thanks for the helps!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,987 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,968 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 4,565 Reputation points Microsoft Vendor
    2024-09-27T03:02:19.4766667+00:00

    Hi @S W

    After testing, I have encountered the same test results as you, and through queries, I found that there were other users who were experiencing similar problems, and there is no good solution for this at present.

    It is recommended that you give feedback here or open a support ticket.

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.