# Get-MtUserAuthenticationMethodInfoByType

Returns DisplayName and IsMfa metadata about a specific user authentication method type

Source: https://maester.dev/docs/commands/Get-MtUserAuthenticationMethodInfoByType

## SYNOPSIS

Returns DisplayName and IsMfa metadata about a specific user authentication method type

## SYNTAX

```powershell
Get-MtUserAuthenticationMethodInfoByType [[-AuthenticationMethod] <PSObject>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION

The user authentication method returned by the /users/\{id\}/authentication/methods endpoint
is missing key information such as the display name (as shown in the Portal) and if an auth method
is a multi-factor authentication method or not.

This cmdlet returns the DisplayName and IsMfa metadata for a specific user authentication method type.

## EXAMPLES

### EXAMPLE 1

```powershell
$userId = 'john@contoso.com'
$userAuthMethods = Invoke-MtGraphRequest -RelativeUri "users/$userId/authentication/methods"
$authMethod | Get-MtUserAuthenticationMethodInfoByType
```

# Returns the DisplayName and IsMfa metadata for the authentication methods registered by the specified user.

## PARAMETERS

### -AuthenticationMethod

The type of authentication method to get metadata for

```yaml
Type: PSObject
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```

### -ProgressAction

Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.

```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

## OUTPUTS

## NOTES

## RELATED LINKS

[https://maester.dev/docs/commands/Get-MtUserAuthenticationMethodInfoByType](https://maester.dev/docs/commands/Get-MtUserAuthenticationMethodInfoByType)
