Hello Balaji Mogadali,
Thank you for reaching out to Microsoft Support!
Please try the following code snippet:
var drives = await graphClient.Sites["{site-id}"].Drives.GetAsync();
When you send a request, don't forget to call the GetAsync()
method at the end to send the request.
Reference document:
https://learn.microsoft.com/en-us/graph/api/drive-list?view=graph-rest-1.0&tabs=csharp
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.