Hello 静维 李,
Thank you for reaching out to this Q&A Forum.
Please specify what is your end goal here. Are you trying to list all the sites, you can do
https://graph.microsoft.com/v1.0/search/query
In the body add;-
{
"requests": [
{
"entityTypes": [
"site"
],
"query": {
"queryString": "*"
}
}
]
}
Here is the reference article;-
https://learn.microsoft.com/en-us/graph/search-concept-files#example-3-search-sites
Can also add size properties;-
"from": 0,
"size": 500
Hope that helps.
Thanks
--please don't forget to upvote
and Accept as answer
if the reply is helpful—