ELI5: SMTP Auth with ADFS in Play

Posted by thebotnist@reddit | sysadmin | View on Reddit | 3 comments

I have O365 federated, and auth is happening in ADFS.

User hits O365 resource > redirected to ADFS > Redirected back to O365 resource with the token. I understand this interactive process well enough, but I'm suddenly realizing I have no idea how Basic SMTP Auth work with this setup.

I have a few copiers that are setup for scan to e-mail, and they connect to smtp.office365.com on port 587 with StartTLS (IIRC). I enter a username/password in the copier's config and scans work.

I don't have any connectors setup.

What brought it up is that the scanner account that I'm using is getting locked out. I can't find anything in the DC logs like I would for a normal lockout that is happening from a computer, etc. I'm coming up empty in the ADFS logs too. Which makes me wonder if there's a way to beef up the ADFS logs any. I have a pretty simple ADFS setup; two ADFS servers, and two WAPS in the DMZ.

How does that flow for the copiers to authenticate and send mail different than an interactive login? Sorry if that's a basic question.