logo
search
Exchange Connection Problems

Fix Microsoft 365 SMTP AUTH LOGIN Errors in QlikView

Adam DavisAdam Davis Oct 9, 2026 869 views

Question details

Users need to resolve an unexpected AUTH LOGIN response error when configuring QlikView to send emails via Microsoft 365 SMTP.

How to Fix Microsoft 365 SMTP AUTH LOGIN Errors in QlikView
Product
QlikView and Microsoft 365
Device & OS
not provided
Scenario
Setting up automated email alerts and report distribution in QlikView using a Microsoft 365 Exchange mailbox.
Observed behavior
QlikView fails to connect to smtp.office365.com on port 587 and throws an unexpected AUTH LOGIN response error, preventing emails from being sent.
Before you start

Ensure you have administrative access to the QlikView Management Console and the Microsoft 365 Admin Center to review security policies and SMTP configurations.

Solution 1Recommended

Verify QlikView SMTP Configurations and Microsoft 365 Mailbox Settings

Check that QlikView's mail server settings match Microsoft 365 requirements and confirm that authenticated SMTP is explicitly enabled for the sending account.

Microsoft 365 disables Basic Authentication (including SMTP AUTH) by default for security reasons. Legacy applications like QlikView that rely on this authentication method will fail to connect unless it is manually enabled for the specific mailbox.

It is highly recommended to use a dedicated service account for this integration and ensure that your organization's Azure Active Directory policies allow legacy authentication for that specific account.

1
Configure QlikView SMTP settings

In the QlikView Management Console (QMC), navigate to System > Setup > Mail Server. Set the SMTP server address to 'smtp.office365.com' and the port to 587.

2
Enable encryption and authentication

Ensure that the STARTTLS (or TLS) encryption option is enabled. Enter the full email address of the Microsoft 365 account as the username, along with its correct password.

3
Enable Authenticated SMTP in Microsoft 365

Log in to the Microsoft 365 Admin Center. Go to Active users, select the user account configured in QlikView, click on the 'Mail' tab, and select 'Manage email apps'. Ensure 'Authenticated SMTP' is checked and save the changes.

4
Verify Tenant Security Defaults

If the error persists, check your Azure Active Directory properties. If 'Security Defaults' are enabled, legacy authentication (SMTP AUTH) is blocked globally. You may need to transition to Conditional Access policies to allow SMTP AUTH for specific IPs or accounts.

Verify QlikView SMTP Configurations and Microsoft 365 Mailbox Settings
Contact QlikView Support: Because this error originates during the QlikView configuration process, reaching out to QlikView support is recommended if settings are correct but modern Microsoft 365 authentication requirements block the connection.
Free Microsoft Office alternative

Need a Lightweight Alternative to Microsoft Office? Try WPS Office

If complex Microsoft 365 configurations, tenant security policies, and recurring subscription fees are slowing down your daily workflow, consider switching to WPS Office. It provides a robust, offline-capable suite for handling your daily document needs seamlessly.

  1. 1. Visit the official website: Open your web browser and go to the official WPS Office website to access the free download page.
  2. 2. Download the software: Click the 'Free Download' button to get the installer for Windows, Mac, or Linux systems.
  3. 3. Install and get started: Run the installer, follow the simple on-screen instructions, and launch WPS Office to start working immediately.
Highly compatible with Microsoft Excel, Word, and PowerPoint file formats without complex tenant configurations.Completely free and lightweight, ensuring your system resources are focused on your data analytics tasks.Familiar tabbed user interface allows for a zero-learning-curve migration.Built-in PDF editing tools for quick report generation and sharing.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft 365 block SMTP AUTH by default?

Microsoft 365 disables Basic Authentication (SMTP AUTH) by default to enhance tenant security and prevent automated brute-force attacks. You must explicitly enable it per-mailbox for legacy applications that require it.

Can I use port 25 instead of 587 for Microsoft 365 in QlikView?

Port 587 with STARTTLS encryption is the recommended and standard configuration for SMTP client submission in Microsoft 365. Port 25 is typically reserved for server-to-server mail routing and is often blocked by ISPs.

What if my organization mandates Multi-Factor Authentication (MFA)?

If MFA is strictly enforced across your Microsoft 365 tenant without exceptions, standard SMTP AUTH will fail. You will either need to generate an App Password (if allowed by your admin) or use a modern authentication approach such as Microsoft Graph API, which may require upgrading your QlikView setup.