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?
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?
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?
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.
1 Person is following this question.
Send email with attachment - MS Graph
Exchange server 0Auth authorization for single mailbox from backend service
Unable to send multilple large files with email ( > 4mb ) using graph API by creating upload session
Count unread emails with mail.readbasic permission?
Retrieve all messages from an email address - Microsoft Graph Explorer