[SOLVED]OAuth, office365: Multiple shared mailboxes with one user account for inbound

We managed to connect a user via OAuth to Office365, lets call him USER1.
We can access the mailbox USER1@company.com, but the user has access to shared mailboxes like SHARE1@company.com, SHARE2@company.com
Is it possible to access these mailboxes with that setup?
Maybe the “Connection String:” in Inbound Email configuration?
Or ist there some other setting to achieve this?

SOLVED:
For using outlook with OAuth authentication for example, authenticate to OAuth with USER1@company.com, then you do the settings like:

Username: SHARE1@company.com
connection string: outlook.office365.com:993/service=imap/tls/ssl/secure/authuser=USER1@company.com/user=SHARE1@company.com

1 Like