
Hi @Aakash
Have you granted the appropriate graph API permissions to your application?
Do a quick test:
Use your user to log in to Graph Explorer and consent to the permissions in "Modify permissions", then call the API.
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.