Skip to main content

Test-MtCaEmergencyAccessExists

SYNOPSIS

Checks if the tenant has at least one emergency/break glass account or account group excluded from all conditional access policies

SYNTAX

Test-MtCaEmergencyAccessExists [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

It is recommended to have at least one emergency/break glass account or account group excluded from all conditional access policies. This allows for emergency access to the tenant in case of a misconfiguration or other issues.

Learn more: https://learn.microsoft.com/entra/identity/role-based-access-control/security-emergency-access

EXAMPLES

EXAMPLE 1

Test-MtCaEmergencyAccessExists

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

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