Hi @Arvind Narayanan
I can reproduce your error.
Do not attempt to call this API using a personal or guest account, it is only supported for work/school accounts.
Please run the
Disconnect-MgGraph
command to log out the current user, then run the Connect-MgGraph
command and log in using your work account.
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.