Get-MtUserAuthenticationMethodInfoByType
SYNOPSIS
Section titled “SYNOPSIS”Returns DisplayName and IsMfa metadata about a specific user authentication method type
SYNTAX
Section titled “SYNTAX”Get-MtUserAuthenticationMethodInfoByType [[-AuthenticationMethod] <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]DESCRIPTION
Section titled “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
Section titled “EXAMPLES”EXAMPLE 1
Section titled “EXAMPLE 1”$userAuthMethods = Invoke-MtGraphRequest -RelativeUri "users/$userId/authentication/methods"$authMethod | Get-MtUserAuthenticationMethodInfoByTypeReturns the DisplayName and IsMfa metadata for the authentication methods registered by the specified user.
Section titled “Returns the DisplayName and IsMfa metadata for the authentication methods registered by the specified user.”PARAMETERS
Section titled “PARAMETERS”-AuthenticationMethod
Section titled “-AuthenticationMethod”The type of authentication method to get metadata for
Type: PSObjectParameter Sets: (All)Aliases:
Required: FalsePosition: 1Default value: NoneAccept pipeline input: True (ByValue)Accept wildcard characters: False-ProgressAction
Section titled “-ProgressAction”Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
Section titled “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.
INPUTS
Section titled “INPUTS”OUTPUTS
Section titled “OUTPUTS”RELATED LINKS
Section titled “RELATED LINKS”https://maester.dev/docs/commands/Get-MtUserAuthenticationMethodInfoByType