Connect-MsolService Authentication Failure with MFA enabled

You might have encountered an error message when you attempt to connect with Office 365 using PowerShell for day to day admin operations with MFA enabled privileged account. When attempting to use Connect-MsolService with an MFA-enabled admin account you may receive a legacy authentication prompt instead of modern authentication prompt. Legacy prompt will fail authentication request as it does not support modern authentication and requires either MFA disabled or application password. This incorrect prompt is due to older version of

Read more