Connect a Microsoft 365 Shared Mailbox to a CRM via IMAP
Question details
Connect a Microsoft 365 shared mailbox to a third-party CRM through IMAP and troubleshoot authentication and incoming mail delivery.

- Product
- Microsoft 365 Exchange Online and third-party CRM
- Device & OS
- not provided
- Scenario
- A CRM needs to access messages in a shared mailbox using an authorized account.
- Observed behavior
- Authentication or incoming mail delivery needs to be checked when connecting the shared mailbox to the CRM.
Confirm the shared mailbox address, the authorized account, and whether the CRM supports Microsoft 365 OAuth for shared mailboxes over IMAP. Have an Exchange administrator available to check mailbox permissions and message traces.
Configure delegated IMAP access to the shared mailbox
Use this approach when the CRM supports OAuth access to Microsoft 365 shared mailboxes.
The CRM must support the Microsoft 365 shared-mailbox authentication flow; a shared mailbox address and an authorized user's password alone are not sufficient for modern authentication. Basic authentication is disabled for Exchange Online IMAP.
In the Exchange admin center, open Recipients > Mailboxes, select the shared mailbox, and check its mailbox delegation settings. Ensure the account used for authorization has Full Access.
In the Exchange admin center, open the shared mailbox's settings and check that IMAP is enabled. The administrator can also check the IMAPEnabled setting with the Exchange Online PowerShell Get-CASMailbox command.
In the CRM's email account or IMAP connection settings, enter the shared mailbox email address as the mailbox address. Use outlook.office365.com as the IMAP server, port 993, and SSL/TLS.
Choose Microsoft 365 or OAuth 2.0 in the CRM's authentication settings and sign in with the account that has access to the shared mailbox. Follow the CRM's shared-mailbox instructions and grant any required consent.
Use the CRM's Test connection or equivalent button, then check whether messages from the shared mailbox appear in the CRM. Do not use a combined service-account and mailbox login unless the CRM explicitly supports it.

Trace incoming mail and isolate CRM synchronization
Use these checks when the connection succeeds but expected messages are missing.
Work with Office files in WPS Office
WPS Office is a free, lightweight alternative for creating and editing documents, spreadsheets, and presentations in a familiar interface. Its Microsoft Office format compatibility makes it easy to move existing files, though it does not fix Exchange or CRM mailbox connections.

Frequently Asked Questions
What IMAP server settings should I use for Exchange Online?
In the CRM's IMAP settings, use outlook.office365.com, port 993, and SSL/TLS. Select Microsoft 365 OAuth authentication if the CRM supports it.
Can I use the shared mailbox address and an authorized user's password to sign in?
Not by themselves for Exchange Online IMAP. Use a CRM that supports the Microsoft 365 OAuth shared-mailbox flow, and authorize it with an account that has access to the shared mailbox.
Should I enter the service account and mailbox in one combined username?
Do not use a combined login such as service-account@domain.com\shared-mailbox unless the CRM explicitly supports that format. Follow its instructions for Microsoft 365 shared-mailbox OAuth.
How can I tell whether Exchange delivered a missing message?
Send an internal test message, check the shared mailbox in Outlook, and search for it under Mail flow > Message trace in the Exchange admin center. The trace shows its delivery status and any reported errors.




