Test-MtPimAlertsExists
SYNOPSIS
Section titled “SYNOPSIS”Checks if PIM alerts exists
SYNTAX
Section titled “SYNTAX”Test-MtPimAlertsExists [-AlertId] <String> [[-FilteredAccessLevel] <String[]>] [[-FilteredBreakGlass] <Object[]>] [-ProgressAction <ActionPreference>] [<CommonParameters>]DESCRIPTION
Section titled “DESCRIPTION”GET /beta/identityGovernance/roleManagementAlerts/alerts/\{unifiedRoleManagementAlertId\}
EXAMPLES
Section titled “EXAMPLES”EXAMPLE 1
Section titled “EXAMPLE 1”Test-MtPimAlertsExists -FilteredAccessLevel "ControlPlane" -AlertId "RolesAssignedOutsidePimAlert"PARAMETERS
Section titled “PARAMETERS”-AlertId
Section titled “-AlertId”ID for the alert to test.
Type: StringParameter Sets: (All)Aliases:
Required: TruePosition: 1Default value: NoneAccept pipeline input: True (ByValue)Accept wildcard characters: False-FilteredAccessLevel
Section titled “-FilteredAccessLevel”Filter based on Enterprise Access Model Tiering. Can be ‘ControlPlane’ and/or ‘ManagementPlane’.
Type: String[]Parameter Sets: (All)Aliases:
Required: FalsePosition: 2Default value: NoneAccept pipeline input: True (ByPropertyName)Accept wildcard characters: False-FilteredBreakGlass
Section titled “-FilteredBreakGlass”Specify break glass accounts to exclude. Defaults to automatic detection based on Conditional Access policy exclusions.
Type: Object[]Parameter Sets: (All)Aliases:
Required: FalsePosition: 3Default value: (Get-MtUser -UserType EmergencyAccess)Accept pipeline input: True (ByPropertyName)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.