SOLVED

Can't send SMTP mail after setting Default Security in Office 365

%3CLINGO-SUB%20id%3D%22lingo-sub-1181319%22%20slang%3D%22en-US%22%3ECan't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1181319%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20I%20activated%20the%20'Default%20Security'%20in%20Office%20365%2C%20the%20multifunctionals%20can't%20scan-to-mail%20.%3C%2FP%3E%3CP%3EI%20get%20error%26nbsp%3B%3C%2FP%3E%3CP%3ESmtpCmdResp%3A%20535%205.7.3%20Authentication%20unsuccessful%20%5BLO2P265CA0457.GBRP265.PROD.OUTLOOK.COM%5D%3CBR%20%2F%3E--readSmtpResponse%3CBR%20%2F%3ESMTP%20authentication%20failed%20after%20sending%20password.%3CBR%20%2F%3ECheck%20your%20username%2Fpassword%20or%20your%20SMTP%20server's%20auth%20settings%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESettings%3A%26nbsp%3B%26nbsp%3B%20smtp_host%3A%20smtp.office365.com%3CBR%20%2F%3Esmtp_port%3A%20587%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EBefore%20activating%20Default%20Security%20there%20was%20no%20problem.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1181319%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESMTP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1181384%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1181384%22%20slang%3D%22en-US%22%3E%3CP%3EWell%20you%20might%20have%20bothered%20to%20read%20the%20documentation%20on%20Security%20defaults%20first%20to%20avoid%20such%20issues%20%3A)%3C%2Fimg%3E%20Among%20other%20things%2C%20they%20block%20basic%20auth%20for%20SMTP%2C%20which%20I%20suppose%20is%20what%20your%20devices%20use.%20You%20can%20either%20disable%20Security%20defaults%2C%20create%20a%20similar%20CA%20policy%20with%20exceptions%20added%20for%20the%20devices%2C%20or%20use%20some%20smart%20host%2Frelay%20to%20route%20those%20messages.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1181992%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1181992%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENah%2C%20i'm%20more%20the%20'let's%20see%20what%20this%20button%20does'%20type%20of%20guy%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3EMS%20is%20expert%20in%20producing%20large%20quantity's%20of%20text%20with%20very%20little%20info.%26nbsp%3B%20Especially%20if%20English%20is%20not%20your%20native%20language%20it's%20sometimes%20very%20difficult%20to%20follow.%3C%2FP%3E%3CP%3EDo%20you%20think%20there%20is%20a%20way%20to%20**bleep**%20a%20little%20hole%20in%20the%20default%20security%20%2C%20just%20to%20allow%20one%20mailaccount%20to%20send%20mail%20via%20SMTP%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1182511%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1182511%22%20slang%3D%22en-US%22%3E%3CP%3EThat%20depends%20on%20what%20licensing%20you%20have.%20Security%20defaults%20on%20their%20own%20don't%20allow%20much%20customizability%2C%20it's%20a%20plain%20on%2Foff%20switch%20for%20all%20features%20as%20a%20single%20package.%20But%20if%20you%20have%20AAD%20Premium%20licenses%2C%20you%20can%20create%20a%20policy%20that%20matches%20the%20Security%20defaults%20restrictions%2C%20with%20few%20added%20exceptions%20as%20needed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1183050%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1183050%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F562907%22%20target%3D%22_blank%22%3E%40MarcVHB%3C%2FA%3E%26nbsp%3BWhile%20I%20am%20not%20aware%20of%20what%20devices%20you%20are%20using%20I%20can%20tell%20you%20that%20I%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fmail-flow-best-practices%2Fhow-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eused%20this%20documentation%3C%2FA%3E%20to%20set%20up%20a%20HP%20MFP%20X585%20and%20a%20Canon%20MF735CDW.%3C%2FP%3E%3CP%3EWe%20use%20a%20shared%20mailbox%20with%20a%20password%20set%20on%20the%20mailbox%20to%20do%20Authenticated%20SMTP.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1184732%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1184732%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4306%22%20target%3D%22_blank%22%3E%40Forrest%20Hoffman%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20use%20Kyocera%20devices.%26nbsp%3B%20SMTP%20used%20to%20work%2C%20until%20I%20activated%20Default%20Security.%3CBR%20%2F%3EFor%20new%20Office%20365%20tenants%2C%20Default%20Security%20is%20now%20standard%20set%20to%20'on'%20%2C%20so%20new%20Office%20365%20users%20won't%20be%20able%20to%20send%20SMTP%20mails%20with%20multifunctional%20devices.%3C%2FP%3E%3CP%3EI%20was%20hoping%20there%20would%20be%20a%20simple%20way%20just%20for%20one%20user%20(or%20shared%20mailbox)%20to%20send%20SMTP%20mail.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1184743%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1184743%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F562907%22%20target%3D%22_blank%22%3E%40MarcVHB%3C%2FA%3E%26nbsp%3BRight%2C%20you%20would%20need%20use%20a%20mailbox%20that%20has%20a%20username%20and%20password%20unfortunately.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1196949%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1196949%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F562907%22%20target%3D%22_blank%22%3E%40MarcVHB%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20enabled%20Security%20Defaults%20in%20our%20Office%20365%20tenant%20as%20well%20the%20other%20day%20and%20also%20have%20the%20same%20problem%20(from%20an%20app%20that%20uses%20SMTP).%20I%20disabled%20Security%20Defaults%20but%20the%20app%20still%20can't%20send%20through%20SMTP%20anymore.%20Even%20tried%20disabling%20MFA%20%3D%20still%20not%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20get%20a%20resolution%20to%20your%20issue%20in%20the%20end%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1197758%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1197758%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F568910%22%20target%3D%22_blank%22%3E%40BinhTang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENo%2C%20at%20the%20moment%20i%20use%20the%20smtp%20server%20of%20my%20internet%20provider.%3C%2FP%3E%3CP%3ENot%20the%20way%20it%20shoud%20we%2C%20but%20it%20works.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1881419%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1881419%22%20slang%3D%22en-US%22%3EI%20know%20this%20is%20an%20old%20thread%2C%20but%20I'm%20having%20the%20same%20problem.%20For%20half%20my%20tenants%20smtp%20does%20not%20work%20even%20with%20Default%20Security%20disabled.%20I%20found%20there%20is%20some%20kind%20of%20Azure%20security%20that%20disable%20Legacy%20SMTP%20and%20that%20ovverides%20the%20settings%20in%20the%20Admin%20panel.%20So%20I%20think%20once%20the%20tenants%20are%20created%20with%20the%20default%20Security%20settings%20or%20if%20you%20enable%20it%2C%20you're%20screwed%20since%20you%20can't%20go%20back%20and%20change%20those%20settings%20in%20Azure%20if%20you%20don't%20have%20it.%20I%20opened%20a%20ticket%20with%20Microsoft%20and%20so%20far%20they%20have%20not%20been%20able%20to%20solve%20my%20problem.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1881519%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1881519%22%20slang%3D%22en-US%22%3EToday%20I%20had%20the%20problem%20again%20with%20a%20new%20Office%20365%20tenant.%20He%20couldn't%20send%20smtp%20mails.%20It%20looks%20like%20MS%20is%20activating%20the%20Default%20Security%20for%20new%20tenant%20now.%20Lukely%2C%20after%20disabling%20the%20Default%20Security%20smtp%20sending%20was%20working.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1881944%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1881944%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F562907%22%20target%3D%22_blank%22%3E%40MarcVHB%3C%2FA%3E%26nbsp%3BMy%20problem%20is%20that%20even%20after%20disabling%20Default%20Security%20it%20still%20doesn't%20work.%26nbsp%3B%20I%20have%20like%2010%20of%20my%20tenants%20with%20that%20problem%2C%20and%20an%20other%2010%20which%20are%20working%20fine.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1943437%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1943437%22%20slang%3D%22en-US%22%3ESame%20here%2C%20old%20tenant%20using%20a%20non%20TLS%20conector%20to%20relay%20email%20to%20internal%20and%20external%20email%20addresses%20%2C%20filtered%20by%20Fixed%20Public%20IP%20Address%2C%20as%20supported%20by%20Microsoft%20works%20perfectly%2C%20no%20Security%20Defaults%20or%20annoying%20MFA%20ACTIVE.%3CBR%20%2F%3ENew%20tenant%2C%20came%20with%20Security%20Defaults%20active%20by%20default%20(thanks%20Microsoft)%2C%20which%20I%20have%20disabled%20in%20Azure%20Portal%2C%20doesn't%20work%20with%20the%20same%20exact%20connector%20configuration!%20We%20use%20this%20for%20our%20multifunctional%20printers%20to%20scan%20documents....%20Spend%201%20hour%20yesterday%20with%20Microsoft%20on%20the%20phone%2C%20they%20check%20both%20tenants%2C%20checked%20pretty%20much%20what%20i%20have%20already%20checked%20and%20reach%20no%20conclusion....%20They%20told%20me%20that%20tenant%20was%20dehydrated%2C%20they%20would%20do%20something%20on%20the%20background%20and%20that%20they%20would%20get%20back%20in%20touch%20today!%3CBR%20%2F%3E2%20Days%20fighting%20this%20stupid%20problem%20when%20I%20have%20other%20important%20things%20to%20do!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1943559%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1943559%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F886677%22%20target%3D%22_blank%22%3E%40LusoAdmin%3C%2FA%3E%26nbsp%3BWhat%20I%20found%20out%20for%20new%20tenants%3A%3C%2FP%3E%3CP%3EDisable%20the%20default%20security%20settings%3C%2FP%3E%3CP%3EEnable%20the%20MFA%20on%20all%20users%2C%20one%20by%20one%3C%2FP%3E%3CP%3EWait%20some%20minutes%3C%2FP%3E%3CP%3EDisable%20MFA%20for%20all%20users%2C%20one%20by%20one%3C%2FP%3E%3CP%3EAnd%3A%26nbsp%3B%20tadaaa%20%2C%20SMTP%20works%20again%20.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1943636%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1943636%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F562907%22%20target%3D%22_blank%22%3E%40MarcVHB%3C%2FA%3E%20thanks%20for%20the%20tip%2C%20I'll%20test%20it%20for%20sure%20and%20let%20you%20know%20if%20it%20worked.%20This%20tenant%20was%20created%20just%20for%20this%20purpose%2C%20it%20only%20have%20one%20account%20%3B)%3C%2Fimg%3E%3CBR%20%2F%3EThis%20is%20the%20kind%20of%20tips%20and%20workarounds%20you%20expect%20Microsoft%20support%20to%20know.%3CBR%20%2F%3EThanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1946189%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20send%20SMTP%20mail%20after%20setting%20Default%20Security%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1946189%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F886677%22%20target%3D%22_blank%22%3E%40LusoAdmin%3C%2FA%3E%26nbsp%3BHey%20there.%26nbsp%3B%20I'll%20put%20the%20solution%20here%20because%20as%20far%20as%20I%20can%20tell%2C%20everyone%20should%20also%20have%20that%20problem%20now.%26nbsp%3B%20It%20took%201%20week%20with%20the%20Microsoft%20support%20to%20finally%20find%20the%20solution.%26nbsp%3B%20Just%20like%20I%20thought%2C%20because%20now%20the%20default%20security%20is%20enabled%20when%20you%20create%20a%20new%20tenant%2C%20even%20if%20you%20disable%20it%2C%20smtp%20somehow%20stays%20disabled%20and%20that%20overrides%20the%20settings%20in%20your%20admin%20panel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%20you%20have%20to%20do%20is%20enable%20it%20in%20Powershell.%26nbsp%3B%20To%20connect%20with%20Powershell%2C%20first%20you%20have%20to%20execute%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EConnect-MsolService%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EImport-Module%20ExchangeOnlineManagement%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EConnect-ExchangeOnline%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%3CP%3EThen%20you%20enter%20your%20admin%20credentials.%26nbsp%3B%20After%20that%2C%20you%20can%20check%20the%20%22smtp%20disabled%22%20flag%2C%20it%20should%20be%20set%20to%20%22true%22%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EGet-TransportConfig%20%7C%20Format-List%20SmtpClientAuthenticationDisabled%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20enable%20smtp%20and%20get%20things%20working%20again%2C%20you%20enter%20this%20command%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3ESet-TransportConfig%20-SmtpClientAuthenticationDisabled%20%24false%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWorked%20for%20all%20my%20tenants.%26nbsp%3B%20I%20hope%20this%20helps%20you%20too!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

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]
--readSmtpResponse
SMTP authentication failed after sending password.
Check your username/password or your SMTP server's auth settings

 

Settings:   smtp_host: smtp.office365.com
smtp_port: 587

Before activating Default Security there was no problem.

 

 

15 Replies

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.

@Vasil Michev 

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 ?

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.

@MarcVHB While I am not aware of what devices you are using I can tell you that I used this documentation to set up a HP MFP X585 and a Canon MF735CDW.

We use a shared mailbox with a password set on the mailbox to do Authenticated SMTP.

@Forrest Hoffman 

 

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.

@MarcVHB Right, you would need use a mailbox that has a username and password unfortunately. 

@MarcVHB 

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?

 

@BinhTang 

No, at the moment i use the smtp server of my internet provider.

Not the way it shoud we, but it works.

 

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.

Today I had the problem again with a new Office 365 tenant. He couldn't send smtp mails. It looks like MS is activating the Default Security for new tenant now. Lukely, after disabling the Default Security smtp sending was working.

@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.

Same here, old tenant using a non TLS conector to relay email to internal and external email addresses , filtered by Fixed Public IP Address, as supported by Microsoft works perfectly, no Security Defaults or annoying MFA ACTIVE.
New tenant, came with Security Defaults active by default (thanks Microsoft), which I have disabled in Azure Portal, doesn't work with the same exact connector configuration! We use this for our multifunctional printers to scan documents.... Spend 1 hour yesterday with Microsoft on the phone, they check both tenants, checked pretty much what i have already checked and reach no conclusion.... They told me that tenant was dehydrated, they would do something on the background and that they would get back in touch today!
2 Days fighting this stupid problem when I have other important things to do!

@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 .

@MarcVHB thanks for the tip, I'll test it for sure and let you know if it worked. This tenant was created just for this purpose, it only have one account ;)
This is the kind of tips and workarounds you expect Microsoft support to know.
Thanks
Best Response confirmed by MarcVHB (Occasional Contributor)
Solution

@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:

 

Connect-MsolService
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline

 

 

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!