I want to be able to get the number of unread emails for an specific name in my tenant.
Something like: https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/messages?$filter=isRead ne false&$count=true]
but be able to change the me for an specific user, the above works in graph explorer for my signing user.
I tried this example here. Which bring me a list of users and was trying to modified it without success.
the app have api permission for microsoft graph to read mail in all mailboxes.