Skip to content

403 Access Denied when accessing other users' mailboxes #1

@luckman212

Description

@luckman212

I've been trying to use this script and other various flavors of Get-MgUserMailboxSetting and GET /users/{user_id}?$select=mailboxSettings... Just keep hitting a wall with a 403 permission error. Anyone else having any luck?

Access is denied. Check credentials and try again.  Status: 403 (Forbidden) ErrorCode: ErrorAccessDenied

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 and MailboxSettings.ReadWrite scopes, among others.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions