Microsoft 365 SMTP error from your scanner, form or app: what it means

Independent guide, not a Microsoft service.

The text is processed in your browser. It isn't sent to us or stored. If you order instructions from this result, only the error code is added to the form, and you can remove it before sending. Please don't paste passwords.

Written instructions for your device €29, instructions and email support €79

Order instructions

This is general information from Microsoft's public documentation, checked on 29 November 2026. It doesn't replace your administrator's judgement about your own setup. Save your settings before changing anything. If a security setting blocks sending, ask your administrator to look at it; we don't suggest turning security off.

The errors one by one

What Microsoft says about eight common sending errors, in our own words and with sources.

Signing in

550 5.7.30: password sign-in not accepted

550 5.7.30 Basic authentication is not supported for Client Submission

Microsoft says clients get this response once password sign-in (Basic auth) has been permanently disabled for this sending method. The December change switches it off by default, so the error may be related.

What to look at first

  • Is the device's outgoing server smtp.office365.com, with a saved username and password?
  • Does the sender show up as Basic Auth in your admin's SMTP AUTH Clients report?
  • Does the maker say this model supports OAuth sign-in?

December change: May be related.

You can order the €29 instructions for one sender: what to change, in what order, and how to undo it. Order the €29 instructions

Sources: Exchange Team Blog (15 April 2024, edited 19 November 2026), Exchange Team Blog, timeline (27 January 2026, updated 29 January 2026). Checked 29 November 2026.

535 5.7.139: sign-in failed

535 5.7.139 Authentication unsuccessful

On the Microsoft pages we read, we found no explanation of 5.7.139 without a mention of an STS server. Microsoft's SMTP AUTH article lists four settings that can block sending: the organization setting, the mailbox setting, security defaults and an authentication policy. The cause can also be something else, such as a wrong password. The end of the error message often tells you more.

What to look at first

  • Does the end of the message mention the whole organization or a single mailbox?
  • Are the username and password saved on the device correct?
  • What do the four settings say? Ask your admin to look. We don't suggest turning security off.

December change: The error alone doesn't tell.

You can order the €29 instructions for one sender: what to change, in what order, and how to undo it. Order the €29 instructions

Source: Microsoft Learn, SMTP AUTH settings (updated 7 October 2026). Checked 29 November 2026.

5.7.139 with federated STS: your own sign-in server

535 5.7.139 Authentication unsuccessful, federated STS service was unreachable

Microsoft links this one to a sign-in server your organization runs itself. Microsoft either couldn't reach it or couldn't set up the secure connection it needs.

What to look at first

  • Is the sign-in server responding? Ask whoever runs it.
  • Does that server support TLS 1.2 and HTTPS?

December change: Microsoft describes a different cause for this error. It doesn't tell you whether the December change affects your device. Free check

Our instructions don't help here, because the fix is on that server.

Source: Microsoft Learn, troubleshooting printers and scanners (updated 25 June 2025). Checked 29 November 2026.

535 5.7.3: mailbox sign-in failed

535 5.7.3 Authentication unsuccessful

The device tried to sign in to a mailbox and the sign-in wasn't accepted. Microsoft gives several possible causes, and the code doesn't tell them apart.

What to look at first

  • Can you sign in to Outlook on the web with the same username and password?
  • Is SMTP AUTH allowed for this mailbox? Your admin can see that.
  • Does the device support TLS 1.2 or later? Check the firmware version with the maker.

December change: The error alone doesn't tell.

You can order the €29 instructions for one sender: what to change, in what order, and how to undo it. Order the €29 instructions

Sources: Microsoft Learn, troubleshooting printers and scanners (updated 25 June 2025), Microsoft Learn, setting up devices to send email (updated 5 October 2026). Checked 29 November 2026.

5.7.57: the device hasn't signed in

5.7.57 Client was not authenticated to send anonymous mail during MAIL FROM

The device connects to smtp.office365.com, but its mailbox sign-in is missing or isn't accepted.

What to look at first

  • Are a mailbox username and password saved on the device, and are they correct?
  • Is TLS (STARTTLS) switched on?
  • Is there nowhere to enter a username? Then the device needs a different sending method that Microsoft describes.

December change: The error alone doesn't tell.

You can order the €29 instructions for one sender: what to change, in what order, and how to undo it. Order the €29 instructions

Sources: Microsoft Learn, troubleshooting printers and scanners (updated 25 June 2025), Microsoft Learn, Exchange Online error codes (updated 25 August 2026). Checked 29 November 2026.

Sender and route

5.7.60: wrong sender address

5.7.60 SMTP; Client does not have permissions to send as this sender

The device sends from a different address than the one it signs in with, and the signed-in account isn't allowed to do that.

What to look at first

  • Is the sender address on the device the same as the sign-in address?
  • If they need to differ, does the sign-in account have Send As permission? Your admin can see that.

December change: Microsoft describes a different cause for this error. It doesn't tell you whether the December change affects your device. Free check

Sources: Microsoft Learn, setting up devices to send email (updated 5 October 2026), Microsoft Learn, troubleshooting printers and scanners (updated 25 June 2025). Checked 29 November 2026.

5.7.64 or 4.4.62: the message wasn't matched to your organization

5.7.64 TenantAttribution; Relay Access Denied

Microsoft can't tell that the message belongs to your organization. Often the public IP address or the certificate your device uses has changed.

What to look at first

  • Have you changed internet connection, provider or router recently?
  • Has the certificate on the device or server been renewed?
  • Does the inbound connector in Microsoft 365 match the current address or certificate? Your admin can see that.

December change: Microsoft describes a different cause for this error. It doesn't tell you whether the December change affects your device. Free check

Sources: Microsoft Learn, troubleshooting printers and scanners (updated 25 June 2025), Microsoft Learn, Exchange Online error codes (updated 25 August 2026). Checked 29 November 2026.

550 5.1.8: the mailbox is blocked

550 5.1.8 Access denied, bad outbound sender

Microsoft has blocked the mailbox because too much spam was sent from it. Microsoft says the account has usually been compromised.

What to look at first

  • Tell your Microsoft 365 admin straight away.
  • Have there been sign-ins from odd places? Your admin can see that and lift the block.

December change: Microsoft describes a different cause for this error. It doesn't tell you whether the December change affects your device. Free check

Our instructions don't help with this error.

Sources: Microsoft Learn, Exchange Online error codes (updated 25 August 2026), Microsoft Learn, troubleshooting printers and scanners (updated 25 June 2025). Checked 29 November 2026.

The device shows no code

  • The server is entered by name, smtp.office365.com, and not as an IP address.
  • The port is 587 or 25, and no firewall or provider blocks it. Microsoft recommends 587.
  • The device supports TLS 1.2 or later, and the secure connection is switched on.
  • Your admin can see what is sending in the SMTP AUTH Clients report (Exchange admin center, Reports, Mail flow).

Source: Microsoft Learn, setting up devices to send email (updated 5 October 2026). Checked 29 November 2026.

The December 2026 change

According to Microsoft (Exchange Team Blog, 27 January 2026, updated 29 January 2026), the older way of sending mail through Microsoft 365 with just a username and password (SMTP AUTH) will be switched off by default at the end of December 2026. Administrators can still switch it back on, and Microsoft will announce the final removal date in the second half of 2027. Microsoft may change this timeline. Last checked 29 November 2026. Microsoft's blog post

Postipelastus main page and the free check

Order instructions

Pay by invoice after delivery. We confirm your order by email before we start.

Questions first? sales@j-tekk.com

What sends the email?
Option

Limitation of liability: our liability is limited to the price paid for the order. We are not liable for indirect losses, such as interruptions to your email, lost sales, or changes made by third-party services (such as Microsoft). This limitation does not apply to damage caused intentionally or by gross negligence. Terms in short

Add a note (optional)

We use your details only to deliver the order and send the invoice. Privacy policy

Terms in short (Postipelastus, version 1.1, valid from 22 November 2026)

For businesses only. Seller: Tekniikkapalvelut Lalli (trading as J-tekk), Finnish business ID 2994771-6, Aurakatu 4 B 16, 39500 Ikaalinen, Finland, jussi@j-tekk.com.

You get written instructions and, with the €79 option, answers to follow-up questions by email until mail is going out the new way or 14 days after you order, whichever comes first. We don't sign in to your systems and we never ask for passwords; you make the changes yourself.

Save your current settings before making the change. The instructions explain how to undo it.

Limitation of liability: our liability is limited to the price paid for the order. We are not liable for indirect losses, such as interruptions to your email, lost sales, or changes made by third-party services (such as Microsoft). This limitation does not apply to damage caused intentionally or by gross negligence.

If our instructions don't work for the device or service you described, we fix them free of charge for 14 days after delivery.

Price €29 or €79. No VAT charged (small business exemption, Finnish VAT Act section 3); for EU business customers with a VAT number, reverse charge applies. Invoice after delivery, payment within 14 days.

These terms are available in Finnish and English with the same content. In case of conflict, the Finnish version applies.