Exchange Connection Problems

Connect a Microsoft 365 Shared Mailbox to a CRM via IMAP

Chanuka GeekiyanageChanuka Geekiyanage Nov 14, 2026 868 views

Question details

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

Connect a Microsoft 365 Shared Mailbox to a CRM via IMAP
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.
Before you start

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.

Solution 1Recommended

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.

1
Check mailbox permissions

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.

2
Check IMAP 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.

3
Enter the CRM settings

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.

4
Authorize the connection

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.

5
Test the connection

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.

Configure delegated IMAP access to the shared mailbox
CRM support is required: OAuth configuration and shared-mailbox support vary by CRM. If the connection fails, check the CRM's documentation for its required Microsoft 365 permissions and authorization flow.
Free Microsoft Office alternative

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.

Edit Microsoft Word, Excel, and PowerPoint formatsUse a familiar interface for everyday office workOpen and update documents used alongside CRM workflowsMove existing Office files into a lightweight suite
QA img-9

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.