Test-MtRegistrationMfaConflict
SYNOPSIS
Check if MFA during device registration is being enforced in Entra ID settings and in conditional access policies.
SYNTAX
Test-MtRegistrationMfaConflict [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
When MFA is required during device registration in Conditional Access policies, it must be disabled in the Entra ID Device settings. When both are enabled, the conditional access policy with the "Register device" user action will not work as expected. More information can be foun at: https://learn.microsoft.com/en-us/entra/identity/conditional-access/policy-all-users-device-registration#create-a-conditional-access-policy
EXAMPLES
EXAMPLE 1
Test-MtRegistrationMfaConflict
Returns true if no conflict was found, otherwise returns false.
PARAMETERS
-ProgressAction
{{ Fill ProgressAction Description }}
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.
INPUTS
OUTPUTS
System.Boolean
NOTES
RELATED LINKS
https://maester.dev/docs/commands/Test-MtRegistrationMfaConflict