question

RobsonDan-9826 avatar image
0 Votes"
RobsonDan-9826 asked Deva-MSFT edited

Mailboxsettings in Graph Explorer

Simple query to get mailbox settings for a user in the tenant but it won't return results, only appears to work for getting my own mailbox settings, is there no way to grant the permission to read all mailbox settings?

microsoft-graph-mailmicrosoft-graph-explorer
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

When you say for all mailbox settings, i presume you meant to say that you want to access all other users in the given org and their mailbox settings, right?

0 Votes 0 ·

1 Answer

Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered

When you want to access your own mailbox info you will be using "GET /me/mailboxSettings". In case of accessing others, then you need to use the API call like, "GET /users/{id|userPrincipalName}/mailboxSettings". In addition, make sure that you provide the necessary permissions as provided in the graph documentation.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.