Hi Team,
We have successfully configured osTicket v1.17.7 (also tested with v1.17.8 OAuth2 plugin) to fetch emails from a Microsoft 365 mailbox using OAuth2 (Microsoft).
Now we have a deployment question regarding Microsoft 365 Shared Mailboxes.
Current setup:
- osTicket v1.17.7
- Official OAuth2 plugin (latest)
- Microsoft 365 OAuth2
- IMAP over OAuth2
- SMTP over OAuth2
- Email fetching works correctly.
Scenario
We currently authenticate using a licensed mailbox:
This mailbox has:
- Full Access permission
- Send As permission
to the Shared Mailbox:
The Shared Mailbox is unlicensed.
The shared mailbox appears correctly in Outlook under the RequestMail account, and users can read/send emails from it.
Goal
Instead of monitoring:
We would like osTicket to monitor:
while continuing to authenticate via OAuth2 as
This is the standard Microsoft 365 delegated/shared mailbox scenario.
Investigation already performed
We extracted and reviewed the official OAuth2 plugin source.
We found that the plugin:
- Authenticates via OAuth2.
- Retrieves an access token.
- Does not appear to contain any Shared Mailbox-specific logic or mailbox override functionality.
- Does not reference AUTHUSER, shared mailbox, mailbox override, delegated mailbox, etc.
Therefore, it appears mailbox selection is handled later by osTicket's mail fetching layer.
Questions
Does osTicket currently support monitoring a Microsoft 365 Shared Mailbox while authenticating with another licensed mailbox?
If yes:
If not:
Is licensing the Shared Mailbox (or converting it to a regular mailbox) currently the only supported solution?
Has anyone successfully configured Microsoft 365 Shared Mailboxes with the official OAuth2 plugin?
Any guidance or implementation examples would be greatly appreciated.
Thank you!