1
votes

My customer is using the PowerShell cmdlet "Get Recipient" to check, if during the provisioning of the user the mailbox was enabled (Sometimes this dont work). Output of "get-recipient" is "RecipientType" -> Mailuser or Usermailbox.

We want to get the same output with graph explorer. 1. Does anybody know the right query for that in graph? 2. I tried it with that query: [email protected]/mailboxSettings">https://graph.microsoft.com/v1.0/users/[email protected]/mailboxSettings • I receive an error message that my credentials are invalid. • Im using my global admin, the necessary scopes are granted (verified on the service principal in azure ad. "Read and write user mailbox settings, Delegated, Admin consent")

https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_update_mailboxsettings

BR Thomas

1

1 Answers

2
votes

If you want to query the user with the mailbox in Microsoft graph explorer, the only way is what you tried by the mailboxsettings. enter image description here And the required permission is: enter image description here