Forum Discussion
Jesper Stein
Oct 20, 2016Brass Contributor
MFA and Powershell
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://outlo...
- Oct 24, 2016
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
VasilMichev
Oct 20, 2016MVP
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).
Pardeep Soba
Nov 17, 2016Copper Contributor
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
}