Functions/Get-UserMFARegistration.ps1


function Get-UserMFARegistration {

    [CmdletBinding()]
    param (
        [Parameter(Mandatory=$true)][string]$UserPrincipalName
    )

    Get-MgUserAuthenticationMethod -UserId $UserPrincipalName | Select-Object -ExpandProperty AdditionalProperties
    

}