Test-MtCaWIFBlockLegacyAuthentication
SYNOPSIS
Section titled “SYNOPSIS”Checks if the user is blocked from using legacy authentication
SYNTAX
Section titled “SYNTAX”Test-MtCaWIFBlockLegacyAuthentication [-UserId] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]DESCRIPTION
Section titled “DESCRIPTION”Checks if the user is blocked from using legacy authentication using the Conditional Access WhatIf Graph API endpoint.
EXAMPLES
Section titled “EXAMPLES”EXAMPLE 1
Section titled “EXAMPLE 1”Test-MtCaWIFBlockLegacyAuthentication -UserId "e7417ac7-0485-4014-9100-33163bd6211f"PARAMETERS
Section titled “PARAMETERS”-UserId
Section titled “-UserId”The UserId to test the Conditional Access policies with
Type: StringParameter Sets: (All)Aliases:
Required: TruePosition: 1Default value: NoneAccept pipeline input: FalseAccept 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”System.Boolean
Section titled “System.Boolean”RELATED LINKS
Section titled “RELATED LINKS”https://maester.dev/docs/commands/Test-MtCaWIFBlockLegacyAuthentication