Troubleshooting / symptôme

Microsoft 365 returns 535 5.7.139 to SMTP

An application using smtp.office365.com can no longer be authenticated and receives 535 5.7.119.

⌚ About 4 min read
View my favorites
Real-world problem · V2

Quick troubleshooting view

What you are seeing

An application using smtp.office365.com can no longer be authenticated and receives 535 5.7.119.

Likely causes
  1. SMTP AUTH disabled on the box
  2. SMTP AUTH deactivated at the organizational level
  3. inherited authentication blocked
First checks
  1. Check account.
  2. Control SMTP AUTH
  3. Validate TLS and port
Recommended actions
  1. enable SMTP AUTH only for the box that needs it
  2. migrating to a modern method when the application allows
  3. correct the account and port used
Start Symptom → Cause →
Microsoft 365 / SMTPIntermediate.

An application using smtp.office365.com can no longer be authenticated and receives 535 5.7.119.

Important: relevez toujours le message d’erreur exact et l’heure du problème avant de modifier la configuration. Les actions proposées doivent être adaptées à votre environnement.

Causes probables

  • SMTP AUTH disabled on the box
  • SMTP AUTH deactivated at the organizational level
  • inherited authentication blocked
  • poor identifiers or security policy

Diagnostic étape par étape

  1. 1

    Check account.

    Ensure that the identifiers work and the box is active.

  2. 2

    Control SMTP AUTH

    Check the box and organization settings.

  3. 3

    Validate TLS and port

    Test 587 with ▼TLS.

  4. 4

    Checking policies

    Control SecurityBlots, Conditional Access and restrictions of authentication.

Commands utiles

East-Transport Config, Format-List SmtpClientAuthent InformationDisabled
The result is that the user is not able to use the same format as the user.

Solutions possibles

  • enable SMTP AUTH only for the box that needs it
  • migrating to a modern method when the application allows
  • correct the account and port used
  • document the safety exception
Quand escalader ?

If the application does not support any modern method and the activation of SMTP AUTH is incompatible with security policy.

♡ 0