Get Sites on Graph does not work...

Andre Gouveia 31 Reputation points
2022-06-21T10:32:32.137+00:00

Microsoft Graph service is experiencing issues when i try to get the sites ***/sites?search=**** the endpoint retrieves an error...

213354-graph1.png

As you can see in the screenshot, the request takes to long 27252ms and give an General exception while processing.
Yesterday this works fine but today is not working...

I've tried with 4 different tenants... (with cache cleared...) and with the SDK too...

Can you please give us some feedback to fix this issue?!

Thanks,
André Gouveia
Web Developer Specialist

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,447 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,810 questions
{count} vote

Accepted answer
  1. AtulThorat-MSFT 391 Reputation points
    2022-06-21T12:03:37.68+00:00

    Hello @Andre Gouveia ,

    Hope you are doing well.

    As per documentation, site-search,

    One of the following permissions is required to call this API.

    213336-ms-graph-search.png

    Delegated (personal Microsoft account) permission is Not supported for graph API

    GET https://graph.microsoft.com/v1.0/sites?search=*  
    

    I also try to run above graph API and able to get expected response as shown below so unable to reproduce this issue.

    213421-ms-graph-search-site.png

    Hope this helps.

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


0 additional answers

Sort by: Most helpful