Forum Discussion

Thomas's avatar
Thomas
Copper Contributor
Sep 05, 2017
Solved

Connect -MsolService does not work with MFA

Community

 

My Global Admin account in my tenant is configured for MFA. I have installed MS Exchange Online PowerShell Module and I am able to successfully log in with MFA.

 

I need to perform an update using Set-MsolUserPrincipalName, however it complains I need to run Connect-MsolService first.

When I do this, I am presented with a basic sign-in box (not MFA) and it just does not work to log in using the same credentials I used with the inital login.

 

What am I missing here?

 

Regards,

 

Resources