Configure Microsoft 365 IMAP and SMTP Settings for Oracle Workflow Mailer
Question details
The user needs to correctly configure Microsoft 365 mail servers, ports, certificates, and authentication methods to connect with Oracle E-Business Suite Workflow Mailer.

- Product
- Microsoft 365 / Oracle E-Business Suite
- Device & OS
- not provided
- Scenario
- Setting up or troubleshooting the email integration between Oracle Workflow Mailer and Microsoft Exchange Online.
- Observed behavior
- Connection fails because Basic Authentication is no longer supported by Microsoft 365, requiring a mandatory transition to modern OAuth 2.0 authentication and correct server routing.
Ensure you have administrator access to your Microsoft 365 tenant to verify OAuth permissions, and access to the Oracle E-Business Suite to modify mailer configurations and trust-stores.
Update to OAuth 2.0 and Configure Correct Exchange Servers
Switch from Basic Authentication to OAuth 2.0 and apply the standard Microsoft 365 POP/IMAP and SMTP server configurations in Oracle Workflow Mailer.
Because Microsoft has deprecated Basic Authentication for most Exchange Online connections, legacy applications using IMAP or SMTP will fail to connect unless updated. Oracle E-Business Suite Workflow Mailer must be explicitly configured to authenticate via OAuth 2.0 (Modern Authentication).
In your Oracle Workflow Mailer settings, update the inbound IMAP server address to outlook.office365.com and set the port to 993 with SSL/TLS encryption enabled.
Update the outbound SMTP server address to smtp.office365.com and set the port to 587 with STARTTLS encryption enabled.
Change the authentication method for both inbound and outbound connections from Basic Authentication to OAuth 2.0. You will need to register the application in Azure AD (Microsoft Entra ID) to obtain the necessary Client ID, Tenant ID, and Client Secret.
Download the latest Microsoft 365 root and intermediate TLS certificates. Import these certificates into your Oracle E-Business Suite trust-store or wallet to establish a trusted secure connection.
Save your new configuration settings in the Oracle administration console and run a test connection to verify that the Workflow Mailer can successfully send and receive emails via Exchange Online.

Manage Your IT Documentation with WPS Office
While troubleshooting complex server and database configurations, keeping your IT documentation organized is crucial. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, perfect for managing your technical guides, logs, and configuration spreadsheets.
- 1. Download the software: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install and launch: Run the installer and launch WPS Office. The lightweight suite installs in minutes.
- 3. Open your IT documents: Open any existing Microsoft Office documentation seamlessly and continue editing without formatting issues.

Frequently Asked Questions
Why is Basic Authentication no longer working for Microsoft 365 IMAP and SMTP?
Microsoft has permanently disabled Basic Authentication for Exchange Online to improve overall tenant security. Applications, including Oracle Workflow Mailer, must now use Modern Authentication (OAuth 2.0) to connect to IMAP, POP, and SMTP protocols.
What are the standard port numbers for Microsoft 365 IMAP and SMTP?
For secure IMAP connections to outlook.office365.com, use port 993. For secure SMTP connections to smtp.office365.com, use port 587 with STARTTLS enabled.
How do I fix TLS certificate errors when connecting Oracle to Microsoft 365?
TLS certificate errors usually occur because the Microsoft 365 SSL certificates are not recognized by Oracle's environment. You must download Microsoft's current root and intermediate certificates and manually import them into the Oracle E-Business Suite trust-store.




