sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

"Cannot enumerate sites" on all tested tenants

Open fzbm opened this issue 7 years ago • 4 comments

The request https://graph.microsoft.com/beta/sites?filter=siteCollection/root%20ne%20null&select=webUrl,siteCollection seems no longer to be working. On each tested tenant I get the error message "invalidRequest: Cannot enumerate sites". This request worked definitely before.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

fzbm avatar Oct 24 '19 06:10 fzbm

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Oct 24 '19 06:10 msft-github-bot

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

Please try to use the API below to check if it works.

https://graph.microsoft.com/v1.0/sites?select=siteCollection,webUrl&filter=siteCollection/root%20ne%20null

Dennis-LZ avatar Oct 25 '19 07:10 Dennis-LZ

At the moment both URLs (yours and the one in the documentation) seem to be working again, but I switched to CSOM to retrieve all available instances. I will close this issue.

fzbm avatar Oct 28 '19 13:10 fzbm

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 23 '20 06:01 msft-github-bot