• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Note: From May 1, 2024, the HP Scan and Capture app will no longer be available (retired) in the Microsoft Store and HP will not release any further app updates. Alternatively, you can download HP Smart from the Microsoft Store. For more information on how to set up your printer using the HP Smart app, go to HP printer setup (HP Smart app).
Common problems HP Solution Center not working : Adobe Flash Player Error and Unable to scan
We would like to share some of the most frequently asked questions about HP Solution Center not working : Adobe Flash Player Error and Unable to Scan.
HP Recommended
NPIE8007A

Trying to set up a HP Color LaserJet MFP M281fdw to scan to email.  I've done this before, dozens of times, but this machine isn't taking it.  Here's the setup:

 

SMTP Server: smtp.office365.com

SMTP Port: 587

TLS Enable: checked.

Authentication: Always

UserID: Tried one specifically for the device, and my own Office 365 ID

Password: typed it in, and copy and pasted it in.

 

IP is private (192.168.5.50)

Gateway is fine, Subnet is fine, DNS is Google public 8.8.8.8

IPV6 is off.

Wifi is off.

 

I have used the account on the device to sign into Office.com sucsessfully.  

 

I have turned off multi-factor authentication

 

What am I missing? there's no firewall issue I can see. 

 

 I have a HP Color LaserJet MFP M277dw with the exact same settings, and it works

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

Check Office 365 Connection Logs:

  • If you have access to Office 365 admin tools, you can check the audit logs to see if there are any connection attempts or failed logins from your printer's IP. This may give you insight into whether the connection is being rejected due to policy or other issues.

Try an App Password (If MFA is Enabled Again):

  • If you re-enable multi-factor authentication later, try generating an App Password from Office 365 security settings and using that in place of the regular password.

Test with a Different Email Service:

  • As a troubleshooting step, try setting up the scan-to-email function using a different SMTP service (e.g., Gmail's SMTP) to ensure that the issue is specific to Office 365. This can help rule out printer-related issues.

Update Printer Firmware:

  • Ensure that your HP Color LaserJet MFP M281fdw is running the latest firmware. Firmware updates often include improvements to compatibility with external services like email servers.

 

I hope this helps.

 

Take care and have a good day.

 

Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!

 

Alden4

HP Support 

Raj_05
HP Support Community Moderator

View solution in original post

3 REPLIES 3
HP Recommended

Hi @CAPICINC,

 

Welcome to HP Support Community.

 

Thank you for posting your query, I will be glad to help you.

 

It seems like you're doing everything correctly, especially since you've successfully set up other printers with similar configurations. Here are a few things you can check or try to resolve the issue.

 

Check SMTP Server and Credentials:

  • Verify if the SMTP settings for smtp.office365.com have changed or if there are updated requirements for authentication from the Office 365 side.
  • Confirm that the username and password you're using are correct and match the Office 365 credentials for the email address you're setting up.

Office 365 SMTP Authentication Settings:

  • Double-check that SMTP authentication is enabled for the account you're trying to use. Sometimes this setting needs to be enabled from within the Office 365 admin center (or Exchange Admin Center).
  • Ensure that SMTP Auth is enabled for the specific mailbox you are using. You can check this in Office 365 settings under Mail flow.

Enable "Less Secure Apps" (Optional for O365 Accounts):

  • In the security settings of Office 365, ensure that the account allows sending via "less secure apps." Although you've turned off multi-factor authentication, Office 365 sometimes blocks apps that it categorizes as less secure from using SMTP.

TLS Version Compatibility:

  • Ensure that the printer is configured to use the correct TLS version. Some SMTP servers require a minimum of TLS 1.2. Check the firmware version of your M281fdw and ensure it is up to date to support modern TLS versions.

Use Different DNS Servers:

  • Google DNS (8.8.8.8) is fine, but some Office 365 configurations may work better with your ISP's DNS or Microsoft's public DNS (8.8.4.4 or 208.67.222.222).

Network Settings on the Printer:

  • Double-check the network settings for any mismatch with the default gateway, IP range, or DNS. Sometimes a printer may require manually setting the default gateway and DNS servers if it’s on a static IP.

Firewall and Security:

  • If you're using a router with advanced firewall or security settings, ensure the following ports are open:
    • SMTP: Port 587 (outgoing) for TLS.
  • Also, check whether your network firewall or router blocks certain outgoing connections, especially if the port is being used.
Raj_05
HP Support Community Moderator
HP Recommended

Check Office 365 Connection Logs:

  • If you have access to Office 365 admin tools, you can check the audit logs to see if there are any connection attempts or failed logins from your printer's IP. This may give you insight into whether the connection is being rejected due to policy or other issues.

Try an App Password (If MFA is Enabled Again):

  • If you re-enable multi-factor authentication later, try generating an App Password from Office 365 security settings and using that in place of the regular password.

Test with a Different Email Service:

  • As a troubleshooting step, try setting up the scan-to-email function using a different SMTP service (e.g., Gmail's SMTP) to ensure that the issue is specific to Office 365. This can help rule out printer-related issues.

Update Printer Firmware:

  • Ensure that your HP Color LaserJet MFP M281fdw is running the latest firmware. Firmware updates often include improvements to compatibility with external services like email servers.

 

I hope this helps.

 

Take care and have a good day.

 

Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!

 

Alden4

HP Support 

Raj_05
HP Support Community Moderator
HP Recommended

One more thing to add to your list: if you're using Azure, make sure the user doesn't have 2FA turned on, or SSPR set.

 

I had to exclude them from that, then it started working.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.