Skip to main content
Version: 2.2.0

Test-MtDeviceRegistrationMfaConflict

SYNOPSIS​

This function checks if MFA during device registration is being enforced in Entra ID settings and in conditional access policies.

SYNTAX​

Test-MtDeviceRegistrationMfaConflict [-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 found 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-MtDeviceRegistrationMfaConflict

PARAMETERS​

-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: 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​

https://maester.dev/docs/commands/Test-MtDeviceRegistrationMfaConflict