[SOLVED] Office365 MFA enabled cannot setup outlook

Open PowerShell

$UserCredential = Get-Credential

You should now get a popup asking for your Global Admin user and password

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session -DisableNameChecking

Decide whether you want the following on or off to fix the issue

Turn on modern authentication - type the following:
Set-OrganizationConfig -OAuth2ClientProfileEnabled $true

Turn off modern authentication - type the following:
Set-OrganizationConfig -OAuth2ClientProfileEnabled $false

Check the status (on/off) of modern authentication:
Get-OrganizationConfig | Format-Table Name,OAuth* -Auto
If you still have the problem add the following Registry keys on the client machine to suppress WAM and revert Outlook back to ADAL:



After this, all should work as normal.

As for Microsoft - you are a bunch of idiots and don't understand how to secure a product.

Router / Internet connection not working
How to import Windows Live Mail into EM Client

By accepting you will be accessing a service provided by a third-party external to https://www.corsolutions.co.uk/