Hi @Vikram Singh
If you are trying to get the current user's OneDrive, then just call the GET /me/drive
endpoint. In addition, you also need to make sure that the logged in user has a valid MS 365 license.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.