How to Find the Correct IMAP Hostname for Jira Email Integration
Question details
The user needs to find the correct IMAP hostname to successfully integrate an Outlook or Microsoft email account with Jira's incoming mail server.

- Product
- Jira / Microsoft Outlook
- Device & OS
- not provided
- Scenario
- Configuring an incoming mail server connection in Jira using a Microsoft service account via secure IMAP.
- Observed behavior
- The Jira mail server connection test fails when using imap-mail.outlook.com over port 993, indicating a potential incorrect hostname or authentication issue.
Verify that IMAP access is enabled for the service account in your Microsoft 365 Admin Center, and ensure you have administrative permissions in Jira.
Use the Correct Outlook or Microsoft 365 IMAP Server Address
Determine and apply the proper IMAP server address based on whether you are using a personal Outlook account or an enterprise Microsoft 365 account.
The hostname 'imap-mail.outlook.com' is typically reserved for personal Outlook.com, Hotmail, or MSN accounts. If you are using a hosted Microsoft 365 business or enterprise mailbox, the hostname differs.
Using the wrong server address will result in a connection test failure, even if the port and credentials are correct.
Determine if your service account is a personal Microsoft account (like @outlook.com) or a corporate Microsoft 365 account.
In Jira's Incoming Mail configuration, enter 'outlook.office365.com' as the Hostname if you are using a Microsoft 365 business or enterprise account. For personal accounts, continue using 'outlook.office365.com' or 'imap-mail.outlook.com'.
Ensure the IMAP Port is strictly set to 993.
Set the Secure/Encryption method to 'SSL/TLS'.
Save the configuration and click 'Test Connection' in Jira to verify the new settings.

Transition to OAuth 2.0 Authentication
Microsoft has deprecated Basic Authentication for IMAP. You must transition your Jira email integration to OAuth 2.0 to successfully connect to Microsoft 365.
Manage Project Documentation Seamlessly with WPS Office
While resolving complex IT integrations like Jira and Exchange, ensure your team stays productive with a reliable office suite. WPS Office is a highly compatible, free alternative to Microsoft Office, perfect for drafting IT documentation, exporting reports, and collaborating.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the downloaded file and follow the straightforward on-screen instructions to install the suite.
- 3. Open and Edit Documents: Launch WPS Office to instantly open, edit, and save your existing Microsoft Office files without formatting loss.

Frequently Asked Questions
Why does imap-mail.outlook.com fail on port 993?
The connection often fails because 'imap-mail.outlook.com' is primarily for personal accounts. If you are using a Microsoft 365 business account, the correct hostname is 'outlook.office365.com'. Additionally, the failure might be caused by Microsoft disabling Basic Authentication on your tenant.
What is the correct IMAP port for Jira email integration?
The standard secure IMAP port is 993. You must also ensure that the Secure/Encryption setting is set to SSL or TLS.
Does Jira support Microsoft 365 OAuth 2.0?
Yes, modern versions of Jira Software and Jira Service Management fully support OAuth 2.0 for incoming mail servers. This is the recommended and most secure way to connect Microsoft 365 mailboxes, as Basic Authentication has been deprecated.
Can I use an App Password for Jira mail servers?
Yes, if your Microsoft 365 administrator has enabled App Passwords and Basic Authentication is still allowed on your tenant, you can generate an App Password to bypass Multi-Factor Authentication (MFA) for the Jira connection.




