Hi @Jatish Khanna ,
Per my test, I got the same result as yours on my end: 400 BadRequest in the response for /sites/{hostname}:/{server-relative-path}:/drive/root
.
Looks like Graph API do not add support for the particular endpoint drive/root
when using server-relative URL. Currently, we have to use site-id in the request.
You could submit the feature request here: https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.