02-19-2020 12:03 AM
02-19-2020 12:03 AM
After I activated the 'Default Security' in Office 365, the multifunctionals can't scan-to-mail .
I get error
SmtpCmdResp: 535 5.7.3 Authentication unsuccessful [LO2P265CA0457.GBRP265.PROD.OUTLOOK.COM]
SMTP authentication failed after sending password.
Check your username/password or your SMTP server's auth settings
Settings: smtp_host: smtp.office365.com
Before activating Default Security there was no problem.
02-19-2020 12:24 AM
Well you might have bothered to read the documentation on Security defaults first to avoid such issues :) Among other things, they block basic auth for SMTP, which I suppose is what your devices use. You can either disable Security defaults, create a similar CA policy with exceptions added for the devices, or use some smart host/relay to route those messages.
02-19-2020 05:41 AM
Nah, i'm more the 'let's see what this button does' type of guy :)
MS is expert in producing large quantity's of text with very little info. Especially if English is not your native language it's sometimes very difficult to follow.
Do you think there is a way to **bleep** a little hole in the default security , just to allow one mailaccount to send mail via SMTP ?
02-19-2020 08:47 AM
That depends on what licensing you have. Security defaults on their own don't allow much customizability, it's a plain on/off switch for all features as a single package. But if you have AAD Premium licenses, you can create a policy that matches the Security defaults restrictions, with few added exceptions as needed.
02-19-2020 11:49 AM
02-20-2020 07:32 AM
I use Kyocera devices. SMTP used to work, until I activated Default Security.
For new Office 365 tenants, Default Security is now standard set to 'on' , so new Office 365 users won't be able to send SMTP mails with multifunctional devices.
I was hoping there would be a simple way just for one user (or shared mailbox) to send SMTP mail.
02-20-2020 07:37 AM
@MarcVHB Right, you would need use a mailbox that has a username and password unfortunately.
02-26-2020 11:32 AM
I just enabled Security Defaults in our Office 365 tenant as well the other day and also have the same problem (from an app that uses SMTP). I disabled Security Defaults but the app still can't send through SMTP anymore. Even tried disabling MFA = still not working.
Did you get a resolution to your issue in the end?
02-26-2020 10:50 PM
No, at the moment i use the smtp server of my internet provider.
Not the way it shoud we, but it works.
11-12-2020 08:31 AM - edited 11-12-2020 08:32 AM
I know this is an old thread, but I'm having the same problem as @BinhTang . For half my tenants smtp does not work even with Default Security disabled. I found there is some kind of Azure security that disable Legacy SMTP and that ovverides the settings in the Admin panel. So I think once the tenants are created with the default Security settings or if you enable it, you're screwed since you can't go back and change those settings in Azure if you don't have it. I opened a ticket with Microsoft and so far they have not been able to solve my problem.
11-12-2020 08:46 AM
11-12-2020 10:06 AM
@MarcVHB My problem is that even after disabling Default Security it still doesn't work. I have like 10 of my tenants with that problem, and an other 10 which are working fine.
12-01-2020 12:23 AM
12-01-2020 01:04 AM
@LusoAdmin What I found out for new tenants:
Disable the default security settings
Enable the MFA on all users, one by one
Wait some minutes
Disable MFA for all users, one by one
And: tadaaa , SMTP works again .
12-01-2020 01:23 AM
12-01-2020 01:00 PMSolution
@LusoAdmin Hey there. I'll put the solution here because as far as I can tell, everyone should also have that problem now. It took 1 week with the Microsoft support to finally find the solution. Just like I thought, because now the default security is enabled when you create a new tenant, even if you disable it, smtp somehow stays disabled and that overrides the settings in your admin panel.
All you have to do is enable it in Powershell. To connect with Powershell, first you have to execute this:
Then you enter your admin credentials. After that, you can check the "smtp disabled" flag, it should be set to "true":
Get-TransportConfig | Format-List SmtpClientAuthenticationDisabled
To enable smtp and get things working again, you enter this command:
Set-TransportConfig -SmtpClientAuthenticationDisabled $false
Worked for all my tenants. I hope this helps you too!