PowerShell – How to get Azure users with MFA

PowerShell command to list users with MFA Status enabled or disabled. Get-MsolUser -all | select DisplayName,UserPrincipalName,IsLicensed, @{N=”MFA Status”; E={ if($_.StrongAuthenticationRequirements.Count -ne 0){  $_.StrongAuthenticationRequirements[0].State } else {‘Disabled’} } } | Export-Csv -Path “C:\scripts\mfa.csv”

Powershell : WARNING: MSG:UnableToDownload

WARNING: MSG:UnableToDownload «https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409» «» WARNING: Unable to download the list of available providers. Check your internet connection. WARNING: Unable to download from URI ‘https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409’ to ”. Install-PackageProvider : No match was found for the specified ...