Skip to content

[Mailbox]: read shared mailbox emails #1212

@maxhoheiser

Description

@maxhoheiser

Hi Team,
In addition to this resolved issue: #137

I am getting permission erros with this method, but correct permissions are set since I can retrive shared mailboxes mails with the same entra id app from a different tool

this is the error https://graph.microsoft.com/v1.0/users/rechnung@domain.at/mailFolders/Inbox/messages?%24top=10

this is how I instantiate the account account = Account(credentials, main_resource=shared_mailbox_email)

I can read emails from my own account when instantiating it like this account = Account(credentials, auth_flow_type='credentials', tenant_id=tenant_id)

any idea what the issue might be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions