Forum Discussion
templintek
Jul 12, 2024Copper Contributor
User Authentication Method last used date
We have an issue with our users getting the latest iPhone and never notifying IT that they have turned in the old one. This means that the old device is still registered in our system as a valid MFA ...
Kidd_Ip
Jul 13, 2024MVP
Seems Get-MgBetaUserAuthenticationMethod cannot meet your requirement, try below:
Get-MsolUser -All | Select-Object DisplayName, UserPrincipalName, @{
Name = "MFA Status"
Expression = {
if ($_.StrongAuthenticationRequirements.State) {
$_.StrongAuthenticationRequirements.State
} else {
"Disabled"
}
}
}