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 advised 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โ
RELATED LINKSโ
https://maester.dev/docs/commands/Test-MtAppRegistrationsWithSecrets