microsoftgraph / msgraph-sdk-serviceissues

Tracks service issues for follow up.
5 stars 0 forks source link

Office 365 graph api /sites/search does not return all sites #124

Open pragatiagrawal97 opened 2 years ago

pragatiagrawal97 commented 2 years ago

I am using the following query to fetch all the sites and subsites under a certain Domain, "https://graph.microsoft.com/v1.0/sites?search=*"

I am getting the response i.e. Site and SubSite Collection, but in that response all the sites under that domain are not getting fetch/retrive in one attempt and also I am getting duplicate result which I already got in previous response.

I am having 1000's of sites so I have implemented a iterator and in that I am giving PageSize, and fetching sites depending on that PageSize.

petrhollayms commented 7 months ago

Thank you for reporting this issue. This appears to be an issue or limitation with the service APIs. Unfortunately, as the Microsoft Graph SDK team, we do not have ownership of the APIs that are causing you issues. We invite you to create a question about the service API to Microsoft Q&A and tagged with one of the [microsoft-graph-*] tags, that way it will get routed to the appropriate team for them to triage.

https://aka.ms/askgraph

For now, we will close the issue on our side but feel free to open it in the relevant repository if you think the issue is specific to SDK. Please let us know if this helps!

Note: We will close this repository on April 19, 2024.