MFA and Powershell

Brass Contributor


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, 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 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

worked for me via IE 11 thanks

Me too! Thanks!