I'm trying to get a Site resource by path using the Rest Graph API as explained in the docs and I'm getting an error message indicating:
Provided identifier is malformed - site collection id is not valid
I'm able to access the SharePoint site through the browser accessing to this URL:
https://<tenant>.sharepoint.com/sites/<site name>
The endpoint I'm forming has the following shape:
https://graph.microsoft.com/v1.0/sites/<tenant>.sharepoint.com:/<site name>
I am able to successfully retrieve Site information by id but not by path. Here is a screenshot of how the request I'm trying to make looks like in Postman.
This is the response when getting site information by id:
Is the endpoint URL correctly formed for retrieving the site resource information?