Mailboxsettings in Graph Explorer

Robson, Dan 1 Reputation point
2021-06-01T18:26:10.02+00:00

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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,682 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee
    2021-06-02T11:59:43.687+00:00

    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.

    0 comments No comments