Skip to main content

Test-MtAppRegistrationsWithSecrets

SYNOPSIS

Check if any service principals are still using secrets instead of certificates or managed identities.

SYNTAX

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

DESCRIPTION

It is adviced to use certificates or managed identities instead of secrets for service principals. This test checks if any service principals are still using secrets.

EXAMPLES

EXAMPLE 1

Test-MtAppRegistrationsWithSecrets

Returns true if no service principals are using secrets, 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

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