For the latest version of this code please visit msgraph-sdk-powershell-examples.
Getting All Azure AD Users Capable of MFA using the Microsoft Graph SDK for PowerShell.
‘Capable’ refers to whether the user has registered a strong authentication method for multi-factor authentication. The method must be allowed by the authentication methods policy.
Note: This code requires the Microsoft Graph SDK for PowerShell.