Announcements
Hi everyone,
When I simply execute the Graph Query after adding my Sharepoint Site name, it returns empty array instead of with value. https://graph.microsoft.com/v1.0/sites?search=[MY _SHAREPOINT_SITE_NAME]
I consent all Sites.Read.All and Sites.ReadWrite.All permissions. I am owner of the site and I tried to change the private to public of the state of the Sharepoint site but nothing changed still returning empty array
{ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites", "value": []}
What am I really missing? I will be glad if you help me on that. Thanks in advance.
Best option to try your API calls on the Microsoft Graph Explore to be sure all the syntax and id is correct
Sure, I tried it on Microsoft Graph Explore
Hi Can you try this - https://graph.microsoft.com/v1.0/sites?search=This will display all SharePoint Sites in your tenantThen look for this in the list
This will show the actually name of that site Then you can rewrite your query with that actual name like this
https://graph.microsoft.com/v1.0/sites?search=DevelopmentIt will display the Sharepoint site details
Please accept this as solution if that works for others to Improve Knowledge Management
Hi @Geeks_D ,
It's works! But it's a bit strange because I used space between the words then it worked.I really could not think that it works with spaces 🤔
Thanks for your support! 🤙
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 834
Valantis 533
Haque 410