SOLVED
Home

MFA and Powershell

%3CLINGO-SUB%20id%3D%22lingo-sub-23579%22%20slang%3D%22en-US%22%3EMFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-23579%22%20slang%3D%22en-US%22%3E%3CP%3EHi.%3C%2FP%3E%3CP%3EI%20am%20testing%20MFA%20on%20some%20admin%20users.%20I%20have%20given%20the%20MFA%20admins%20a%20EMS%20licens%20so%20whitelisting%20of%20IPs%20is%20supported.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20have%20whitelisted%20our%20office%20IP%2C%20and%20when%20my%20admin%20go%20to%20%3CA%20href%3D%22https%3A%2F%2Foutlook.office365.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foutlook.office365.com%3C%2FA%3E%2C%20MFA%20is%20not%20active.%20Doing%20so%20outside%20the%20office%20will%20ask%20for%20MFA%20code%20so%20Im%20sure%20it%20works.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20when%20the%20same%20admin%20starts%20a%20Azure%20powershell%20connection%20to%20%3CA%20href%3D%22https%3A%2F%2Foutlook.office365.com%2Fpowershell-liveid%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foutlook.office365.com%2Fpowershell-liveid%2F%3C%2FA%3E%20it%20fails.%20When%20using%20an%20admin%20account%20without%20MFA%20it%20works%20fine....%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20cant%20seem%20to%20find%20out%20what%20the%20difference%20is%2C%20can%20any%20tell%20me%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20goal%20is%20to%20enable%20MFA%20for%20all%20global%20admins%2C%20but%20of%20course%20they%20will%20need%20to%20be%20able%20to%20connect%20to%20office%20365%20via%20powershell....%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-23579%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-121444%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-121444%22%20slang%3D%22en-US%22%3EMe%20too!%20Thanks!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-78998%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-78998%22%20slang%3D%22en-US%22%3E%3CP%3Eworked%20for%20me%20via%20IE%2011%20thanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-50764%22%20slang%3D%22en-US%22%3ERe%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-50764%22%20slang%3D%22en-US%22%3E%3CP%3EDon't%20know%20if%20I%20am%20the%20only%20one%20that%20missed%20this%2C%20but%20Microsoft%20released%20an%20Exchange%20online%20Powershell%20that%20support%20MFA.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgotoguy.blog%2F2017%2F01%2F12%2Fexchange-online-powershell-with-modern-authentication-and-azure-mfa-available%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgotoguy.blog%2F2017%2F01%2F12%2Fexchange-online-powershell-with-modern-authentication-and-azure-mfa-available%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-37940%22%20slang%3D%22en-US%22%3ERe%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-37940%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Jesper%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20sure%20if%20this%20is%20still%20an%20issue%20for%20you%2C%20but%20we've%20been%20able%20to%20get%20this%20working%20for%20our%20Admins%20(note%20that%20for%20this%20to%20work%20the%20admin%20account%20needs%20to%20be%20cloud%20only%2C%20federated%20accounts%20will%20not%20work).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou've%20already%20done%20the%20IP%20whitelisting%20which%20is%20good%2C%20the%20missing%20piece%20(for%20us)%20was%20to%20delete%20the%20default%20app%20password%20that%20get's%20created%20when%20you%20enable%20MFA%20on%20the%20admin%20account.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFollow%20the%20below%20steps%20to%20delete%20the%20default%20app%20password%3A%3C%2FP%3E%3CUL%3E%3CLI%3EEnable%20MFA%20on%20your%20cloud%20admin%20account%3C%2FLI%3E%3CLI%3E%3CSPAN%3EGo%20to%20this%20link%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fportal.office.com%2Faccount%2F%23security%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.office.com%2Faccount%2F%23security%3C%2FA%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EClick%20on%20%3CSTRONG%3EAdditional%20Security%20Verification%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EClick%20on%20%3CSTRONG%3EUpdate%20my%20phone%20numbers%20used%20for%20account%20security%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3EClick%20on%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3Ethe%3CSTRONG%3E%20app%20passwords%20%3C%2FSTRONG%3Etab%3C%2FLI%3E%3CLI%3EDelete%20the%20default%20app%20password%20that%20was%20created%3C%2FLI%3E%3C%2FUL%3E%3CP%3ETry%20connecting%20to%20Office%20365%20services%20via%20Powershell.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-30756%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-30756%22%20slang%3D%22en-US%22%3E%3CP%3Ehad%20the%20same%20until%20i%20downloaded%20it%20with%20ie%20....%20weird%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-30461%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-30461%22%20slang%3D%22en-US%22%3E%3CP%3Ehi%20how%20do%20you%20set%20bulk%20users%20to%20disbaled%20status%20from%20enabled%3F%20i%20am%20using%20the%20below%20script%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%24users%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3D%3C%2FFONT%3E%20%3CFONT%20color%3D%22%230000ff%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3EImport-Csv%3C%2FFONT%3E%20%3CFONT%20color%3D%22%238b0000%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E'C%3A%5Csupport%5CBulkUpdateMFASampleFile.csv'%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%2300008b%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%2300008b%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%2300008b%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3Eforeach%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%20(%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%24user%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%2300008b%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%2300008b%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%2300008b%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3Ein%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%24users%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E)%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%7B%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%24st%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3D%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%230000ff%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%230000ff%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%230000ff%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3ENew-Object%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23000080%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23000080%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23000080%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E-TypeName%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%238a2be2%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%238a2be2%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%238a2be2%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3EMicrosoft.Online.Administration.StrongAuthenticationRequirement%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%24st%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E.%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3ERelyingParty%20%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3D%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%238b0000%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%238b0000%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%238b0000%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%22*%22%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%24st%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E.%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3EState%20%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3D%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%238b0000%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%238b0000%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%238b0000%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%E2%80%9CDisabled%E2%80%9D%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%24sta%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3D%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%20%40(%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%24st%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E)%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%230000ff%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%230000ff%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%230000ff%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3ESet-MsolUser%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23000080%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23000080%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23000080%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E-UserPrincipalName%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%24user%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23a9a9a9%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E.%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3EUsername%20%3C%2FFONT%3E%3C%2FFONT%3E%3CFONT%20color%3D%22%23000080%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23000080%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23000080%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E-StrongAuthenticationRequirements%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%20%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%3CFONT%20color%3D%22%23ff4500%22%20face%3D%22Lucida%20Console%22%20size%3D%221%22%3E%24sta%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-29798%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-29798%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F29496%22%20target%3D%22_blank%22%3E%40Jan%20%C4%8C%C3%AD%C5%BEek%3C%2FA%3E%3A%20Not%20sure%20about%20the%20error%2C%20it%20worked%20fine%20for%20me%20when%20I%20installed%20it%20from%20the%20link.%20Did%20you%20add%20the%20required%20sites%20from%20Microsoft%20O365%20in%20your%20IE%20security%20zones%3F%20Could%20it%20be%20that%20you%20are%20missing%20the%20following%20sites%20in%20IE%20(Security%20-%26gt%3B%20Trusted%20sites)%3A%3C%2FP%3E%3CP%3Ehttps%3A%2F%2F*.outlook.com%3C%2FP%3E%3CP%3Ehttps%3A%2F%2F*.microsoftonline.com%3C%2FP%3E%3CP%3Ehttps%3A%2F%2F*.lync.com%3C%2FP%3E%3CP%3Ehttps%3A%2F%2F*.sharepoint.com%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESince%20the%20error%20you%20got%20are%20regarding%20a%20trust%20I%20suppose%20that%20it%20may%20involve%20this%20setting%20or%20another%20trust%20setting%20in%20IE.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-29382%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-29382%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20I%20got%20problem%20installing%20this%20app.%20When%20i%20double%20click%20on%20it%20it%20tells%20me%20this%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPLATFORM%20VERSION%20INFO%3CBR%20%2F%3EWindows%20%3A%2010.0.14393.0%20(Win32NT)%3CBR%20%2F%3ECommon%20Language%20Runtime%20%3A%204.0.30319.42000%3CBR%20%2F%3ESystem.Deployment.dll%20%3A%204.6.1586.0%20built%20by%3A%20NETFXREL2%3CBR%20%2F%3Eclr.dll%20%3A%204.6.1586.0%20built%20by%3A%20NETFXREL2%3CBR%20%2F%3Edfdll.dll%20%3A%204.6.1586.0%20built%20by%3A%20NETFXREL2%3CBR%20%2F%3Edfshim.dll%20%3A%2010.0.14393.0%20(rs1_release.160715-1616)%3C%2FP%3E%3CP%3ESOURCES%3CBR%20%2F%3EDeployment%20url%20%3A%20file%3A%2F%2F%2FC%3A%2FUsers%2Fj.cizek%2FDownloads%2FMicrosoft.Online.CSE.PSModule.Client.application%3C%2FP%3E%3CP%3EIDENTITIES%3CBR%20%2F%3EDeployment%20Identity%20%3A%20Microsoft.Online.CSE.PSModule.Client.application%2C%20Version%3D16.0.1509.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dc3bce3770c238a49%2C%20processorArchitecture%3Dmsil%3C%2FP%3E%3CP%3EAPPLICATION%20SUMMARY%3CBR%20%2F%3E*%20Installable%20application.%3CBR%20%2F%3E*%20Trust%20url%20parameter%20is%20set.%3CBR%20%2F%3EERROR%20SUMMARY%3CBR%20%2F%3EBelow%20is%20a%20summary%20of%20the%20errors%2C%20details%20of%20these%20errors%20are%20listed%20later%20in%20the%20log.%3CBR%20%2F%3E*%20Activation%20of%20C%3A%5CUsers%5Cj.cizek%5CDownloads%5CMicrosoft.Online.CSE.PSModule.Client.application%20resulted%20in%20exception.%20Following%20failure%20messages%20were%20detected%3A%2B%20Deployment%20and%20application%20do%20not%20have%20matching%20security%20zones.%3C%2FP%3E%3CP%3ECOMPONENT%20STORE%20TRANSACTION%20FAILURE%20SUMMARY%3CBR%20%2F%3ENo%20transaction%20error%20was%20detected.%3C%2FP%3E%3CP%3EWARNINGS%3CBR%20%2F%3EThere%20were%20no%20warnings%20during%20this%20operation.%3C%2FP%3E%3CP%3EOPERATION%20PROGRESS%20STATUS%3CBR%20%2F%3E*%20%5B11.11.2016%2017%3A27%3A14%5D%20%3A%20Activation%20of%20C%3A%5CUsers%5Cj.cizek%5CDownloads%5CMicrosoft.Online.CSE.PSModule.Client.application%20has%20started.%3CBR%20%2F%3E*%20%5B11.11.2016%2017%3A27%3A14%5D%20%3A%20Processing%20of%20deployment%20manifest%20has%20successfully%20completed.%3CBR%20%2F%3E*%20%5B11.11.2016%2017%3A27%3A14%5D%20%3A%20Installation%20of%20the%20application%20has%20started.%3C%2FP%3E%3CP%3EERROR%20DETAILS%3CBR%20%2F%3EFollowing%20errors%20were%20detected%20during%20this%20operation.%3CBR%20%2F%3E*%20%5B11.11.2016%2017%3A27%3A14%5D%20System.Deployment.Application.InvalidDeploymentException%20(Zone)%3CBR%20%2F%3E-%20Deployment%20and%20application%20do%20not%20have%20matching%20security%20zones.%3CBR%20%2F%3E-%20Source%3A%20System.Deployment%3CBR%20%2F%3E-%20Stack%20trace%3A%3CBR%20%2F%3Eat%20System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest%20deploymentManifest%2C%20String%20targetDir%2C%20Uri%20deploymentUri%2C%20IDownloadNotification%20notification%2C%20DownloadOptions%20options%2C%20Uri%26amp%3B%20appSourceUri%2C%20String%26amp%3B%20appManifestPath)%3CBR%20%2F%3Eat%20System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState%20subState%2C%20ActivationDescription%20actDesc%2C%20Int64%20transactionId%2C%20TempDirectory%26amp%3B%20downloadTemp)%3CBR%20%2F%3Eat%20System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState%26amp%3B%20subState%2C%20ActivationDescription%20actDesc)%3CBR%20%2F%3Eat%20System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri%20activationUri%2C%20Boolean%20isShortcut%2C%20String%20textualSubId%2C%20String%20deploymentProviderUrlFromExtension%2C%20BrowserSettings%20browserSettings%2C%20String%26amp%3B%20errorPageUrl)%3CBR%20%2F%3Eat%20System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object%20state)%3C%2FP%3E%3CP%3ECOMPONENT%20STORE%20TRANSACTION%20DETAILS%3CBR%20%2F%3ENo%20transaction%20information%20is%20available.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20know%20how%20to%20solve%20this%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24961%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24961%22%20slang%3D%22en-US%22%3Eamazing%20thanks!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24958%22%20slang%3D%22en-US%22%3ERe%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24958%22%20slang%3D%22en-US%22%3EFantastic%20info%20thanks%20Dean!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24667%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24667%22%20slang%3D%22en-US%22%3E%3CP%3EYay%20finally!%20Thanks%20for%20sharing!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24655%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24655%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Everyone%2C%3C%2FP%3E%3CP%3EThanks%20for%20your%20continued%20engagement.%20The%20MFA%20Powershell%20team%20says%20I%20can%20share%20the%20link%20with%20%26nbsp%3By'all%3A%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fexopspreview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Faka.ms%2Fexopspreview%3C%2FA%3E%3C%2FP%3E%3CP%3EDo%20let%20us%20know%20if%20you%20have%20feedback.%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3EBrandon%20Koeller%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24163%22%20slang%3D%22en-US%22%3ERe%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24163%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20glad%20you%20re-opened%20this%20discussion.%26nbsp%3BMS%26nbsp%3Bsecurity%20scores%20%3CA%20href%3D%22https%3A%2F%2Fsecurescore.office.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsecurescore.office.com%2F%3C%2FA%3E%20recommendation%26nbsp%3Bis%20MFA%20and%20we%20cannot%20use%20for%20admins%20due%20to%20the%20Powershell%20issue.%26nbsp%3B%20I%20am%20glad%20to%20hear%20this%20will%20be%20fixed%20and%20that%20there%20are%20work%20arounds%20for%20Exchange%20and%20SharePoint.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-24162%22%20slang%3D%22en-US%22%3ERe%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-24162%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20glad%20you%20re-opened%20this%20discussion.%26nbsp%3BMS%26nbsp%3Bsecurity%20scores%20%3CA%20href%3D%22https%3A%2F%2Fsecurescore.office.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsecurescore.office.com%2F%3C%2FA%3E%20recommendation%26nbsp%3Bis%20MFA%20and%20we%20cannot%20use%20for%20admins%20due%20to%20the%20Powershell%20issue.%26nbsp%3B%20I%20am%20glad%20to%20hear%20this%20will%20be%20fixed%20and%20that%20there%20are%20work%20arounds%20for%20Exchange%20and%20SharePoint.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-23948%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-23948%22%20slang%3D%22en-US%22%3EJust%20got%20confirmation%20from%20a%20MS%20supporter%2C%20that%20it%20is%20not%20possible.%20So%20we%20must%20wait%20for%20the%20new%20EXO%20module....%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-23723%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-23723%22%20slang%3D%22en-US%22%3E%3CP%3EStill%20private%20preview%20AFAIK%2C%20but%20at%20least%20we%20know%20it's%20coming!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-23706%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-23706%22%20slang%3D%22en-US%22%3E%3CP%3EI%20just%20sat%20in%20a%20meeting%20hosted%20by%20MS%20and%20the%20PM%20stated%20that%20they%20are%20working%20hard%20on%20making%20all%20of%20the%20modules%20MFA%20capable.%20He%20mentioned%20that%20the%20EXO%20module%20with%20MFA%20was%20in%20Preview.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F2898%22%20target%3D%22_blank%22%3E%40Brandon%20Koeller%3C%2FA%3E%26nbsp%3Bmay%20be%20able%20to%20provide%20some%20more%20details%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-23615%22%20slang%3D%22en-US%22%3ERe%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-23615%22%20slang%3D%22en-US%22%3E%3CP%3EFYI%2C%20If%20you%20use%20the%20PnP%20PowerShell%20module%20for%20SPO%20tasks%2C%20you%20can%20use%20MFA.%20You%20need%20to%20specify%20the%20-UseWebLogin%20param%20in%20the%20Connect-SPOnline%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-23605%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-23605%22%20slang%3D%22en-US%22%3E%3CP%3EYup%2C%20not%20supported.%20We%20should%20have%20a%20ADAL-enabled%20PowerShell%20module%20for%20Exchange%20Online%20soo(ish)%2C%20then%20you%20will%20be%20finally%20able%20to%20use%20MFA%20for%20all%20admin%20account%20(that%20require%20access%20to%20ExO%20PowerShell).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-23598%22%20slang%3D%22en-US%22%3ERE%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-23598%22%20slang%3D%22en-US%22%3EFound%20a%20thread%20that%20indicates%20that%20it%20is%20not%20possible%20to%20administrate%20EXO%20with%20Powershell%20when%20admin%20is%20MFA%20enabled%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FIdentity-Authentication%2FAuthenticating-to-O365-using-Powershell-and-MFA%2Fm-p%2F3954%23M14%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FIdentity-Authentication%2FAuthenticating-to-O365-using-Powershell-and-MFA%2Fm-p%2F3954%23M14%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-23586%22%20slang%3D%22en-US%22%3ERe%3A%20MFA%20and%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-23586%22%20slang%3D%22en-US%22%3EI%20am%20also%20interested%20in%20this%20response.%3CBR%20%2F%3E%3CBR%20%2F%3ECurrently%20Jesper%20my%20understanding%20is%20that%20Powershell%20administration%20with%20MFA%20turned%20on%20is%20not%20supported.%20Or%20at%20least%20wasn't%20supported.%20Something%20may%20have%20changed!%3C%2FLINGO-BODY%3E
Jesper Stein
Occasional Contributor

Hi.

I am testing MFA on some admin users. I have given the MFA admins a EMS licens so whitelisting of IPs is supported.

 

So I have whitelisted our office IP, and when my admin go to https://outlook.office365.com, MFA is not active. Doing so outside the office will ask for MFA code so Im sure it works.

 

But when the same admin starts a Azure powershell connection to https://outlook.office365.com/powershell-liveid/ it fails. When using an admin account without MFA it works fine....

 

I cant seem to find out what the difference is, can any tell me?

 

My goal is to enable MFA for all global admins, but of course they will need to be able to connect to office 365 via powershell....

21 Replies
I am also interested in this response.

Currently Jesper my understanding is that Powershell administration with MFA turned on is not supported. Or at least wasn't supported. Something may have changed!
Found a thread that indicates that it is not possible to administrate EXO with Powershell when admin is MFA enabled: https://techcommunity.microsoft.com/t5/Identity-Authentication/Authenticating-to-O365-using-Powershe...

Yup, not supported. We should have a ADAL-enabled PowerShell module for Exchange Online soo(ish), then you will be finally able to use MFA for all admin account (that require access to ExO PowerShell).

FYI, If you use the PnP PowerShell module for SPO tasks, you can use MFA. You need to specify the -UseWebLogin param in the Connect-SPOnline

I just sat in a meeting hosted by MS and the PM stated that they are working hard on making all of the modules MFA capable. He mentioned that the EXO module with MFA was in Preview.

 

@Brandon Koeller may be able to provide some more details

Still private preview AFAIK, but at least we know it's coming!

Just got confirmation from a MS supporter, that it is not possible. So we must wait for the new EXO module....

I am glad you re-opened this discussion. MS security scores https://securescore.office.com/ recommendation is MFA and we cannot use for admins due to the Powershell issue.  I am glad to hear this will be fixed and that there are work arounds for Exchange and SharePoint.

I am glad you re-opened this discussion. MS security scores https://securescore.office.com/ recommendation is MFA and we cannot use for admins due to the Powershell issue.  I am glad to hear this will be fixed and that there are work arounds for Exchange and SharePoint.

Highlighted
Solution

Hey Everyone,

Thanks for your continued engagement. The MFA Powershell team says I can share the link with  y'all: http://aka.ms/exopspreview

Do let us know if you have feedback.

Thanks!

Brandon Koeller

Yay finally! Thanks for sharing!

Fantastic info thanks Dean!
amazing thanks!

Hi I got problem installing this app. When i double click on it it tells me this: 

 

PLATFORM VERSION INFO
Windows : 10.0.14393.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.6.1586.0 built by: NETFXREL2
clr.dll : 4.6.1586.0 built by: NETFXREL2
dfdll.dll : 4.6.1586.0 built by: NETFXREL2
dfshim.dll : 10.0.14393.0 (rs1_release.160715-1616)

SOURCES
Deployment url : file:///C:/Users/j.cizek/Downloads/Microsoft.Online.CSE.PSModule.Client.application

IDENTITIES
Deployment Identity : Microsoft.Online.CSE.PSModule.Client.application, Version=16.0.1509.0, Culture=neutral, PublicKeyToken=c3bce3770c238a49, processorArchitecture=msil

APPLICATION SUMMARY
* Installable application.
* Trust url parameter is set.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\j.cizek\Downloads\Microsoft.Online.CSE.PSModule.Client.application resulted in exception. Following failure messages were detected:
+ Deployment and application do not have matching security zones.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [11.11.2016 17:27:14] : Activation of C:\Users\j.cizek\Downloads\Microsoft.Online.CSE.PSModule.Client.application has started.
* [11.11.2016 17:27:14] : Processing of deployment manifest has successfully completed.
* [11.11.2016 17:27:14] : Installation of the application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [11.11.2016 17:27:14] System.Deployment.Application.InvalidDeploymentException (Zone)
- Deployment and application do not have matching security zones.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

 

Do you know how to solve this? 

@Jan Čížek: Not sure about the error, it worked fine for me when I installed it from the link. Did you add the required sites from Microsoft O365 in your IE security zones? Could it be that you are missing the following sites in IE (Security -> Trusted sites):

https://*.outlook.com

https://*.microsoftonline.com

https://*.lync.com

https://*.sharepoint.com

 

Since the error you got are regarding a trust I suppose that it may involve this setting or another trust setting in IE.

hi how do you set bulk users to disbaled status from enabled? i am using the below script

 

$users = Import-Csv 'C:\support\BulkUpdateMFASampleFile.csv'

foreach ($user in $users)

{

$st = New-Object -TypeName Microsoft.Online.Administration.StrongAuthenticationRequirement

$st.RelyingParty = "*"

$st.State = “Disabled”

$sta = @($st)

Set-MsolUser -UserPrincipalName $user.Username -StrongAuthenticationRequirements $sta

}

 

had the same until i downloaded it with ie .... weird

Hi Jesper,

 

Not sure if this is still an issue for you, but we've been able to get this working for our Admins (note that for this to work the admin account needs to be cloud only, federated accounts will not work).

 

You've already done the IP whitelisting which is good, the missing piece (for us) was to delete the default app password that get's created when you enable MFA on the admin account.

 

Follow the below steps to delete the default app password:

  • Enable MFA on your cloud admin account
  • Go to this link: https://portal.office.com/account/#security
  • Click on Additional Security Verification
  • Click on Update my phone numbers used for account security
  • Click on the app passwords tab
  • Delete the default app password that was created

Try connecting to Office 365 services via Powershell.

 

Don't know if I am the only one that missed this, but Microsoft released an Exchange online Powershell that support MFA.

 

https://gotoguy.blog/2017/01/12/exchange-online-powershell-with-modern-authentication-and-azure-mfa-...

worked for me via IE 11 thanks

Me too! Thanks!
Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Edge insider Dev bypasses IE mode website list
HotCakeX in Enterprise on
4 Replies