-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
403 Access Denied when accessing other users' mailboxes #1
Comments
Maybe related: https://martin-machacek.com/blogPost/77d247ca-4c08-4782-b62d-57634a0c66de seems like a custom Azure App may be required... |
What I remember from my testing, with delegated permission I have never found any note about this in the Graph doc, only in the description of the permission It works with application permission |
I am not sure I know how to set up and authenticate as the custom application (yet). Will have to research that, thank you |
I've been trying to use this script and other various flavors of
Get-MgUserMailboxSetting
andGET /users/{user_id}?$select=mailboxSettings
... Just keep hitting a wall with a 403 permission error. Anyone else having any luck?It works when I query my own mailboxSettings, but I can't retreive the settings for any other users in the Org. I am global admin and have connected to MgGraph with the
MailboxSettings.Read
andMailboxSettings.ReadWrite
scopes, among others.The text was updated successfully, but these errors were encountered: