Office 365 - Enforce MFA for Global Administrators

The following script below can be used to enforce the MFA requirement for all "Company Administrator" accounts:

# Import the AAAD Module
Import-Module MSOnline

# Connect to MSO

$multiFactor = New-Object -TypeName Microsoft.Online.Administration.StrongAuthenticationRequirement
$multiFactor.RelyingParty = "*"
$multiFactor.State = "Enforced"
$multiFactor.RememberDevicesNotIssuedBefore = (Get-Date)

$role = Get-MsolRole -RoleName "Company Administrator"
Get-MsolRoleMember -RoleObjectId $role.ObjectId | ForEach-Object {
    Set-MsolUser -UserPrincipalName $_.EmailAddress -StrongAuthenticationRequirements $multiFactor

with a small amount of work this could be scheduled using task scheduler (see - for more details)