Hello,
we use ADFS (Windows Server 2016). We also have Exchange hybrid environment configured. All recipients are in the cloud (Exchange Online). We use Azure AD Connect for syncing on-prem users to the cloud.
We use service accounts for sending notifications via SMTP (smtplib library in Python). We have this setup for years and everything was fine until July 18 2024. From that date we are unable to send emails via service accounts as we receive this error: "Authentication unsuccessful, federated STS service was unreachable."
- we did not update smtplib (same error is showing when trying to send email via PowerShell)
- we did not enable Security defaults in the tenant
- we did not enable SSPR (user is not asked to register auth methods)
- service accounts are able to login via GUI just fine (no MFA interruption)
- yes, in Get-TransportConfig there is SmtpClientAuthenticationDisabled set to FALSE (so it is not disabled)
- yes, service accounts have the property SmtpClientAuthenticationDisabled in Get-CASMailbox set to FALSE (so SMTP is enabled)
- cloud only accounts (created directly in EXO for test purposes) are able to send emails via the same PowerShell or Python script just fine (there is no need for them to contact federated STS as they are cloud only)
Before you ask me a lot of questions, let me mention it again - we did not change anything for years in this setup (except changing certificates on ADFS server regularly). Did Microsoft changed something again without telling us?
We need to have this issue fixed as we are not able send email via SMTP.