Test-MtHighRiskAppPermissions
SYNOPSISโ
Check if any applications or service principals have high risk Graph permissions that can lead to direct or indirect paths to Global Admin and full tenant takeover. The permissions are based on the research published at https://github.com/emiliensocchi/azure-tiering/tree/main.
SYNTAXโ
Test-MtHighRiskAppPermissions [[-AttackPath] <String>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]
DESCRIPTIONโ
Applications that use Graph API permissions with a risk of having a direct or indirect path to Global Admin and full tenant takeover.
EXAMPLESโ
EXAMPLE 1โ
Test-MtHighRiskAppPermissions
Returns true if no application has Tier-0 graph permissions
PARAMETERSโ
-AttackPathโ
Check for direct path to Global Admin or indirect path through a combination of permissions. Default is "All".
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: All
Accept pipeline input: False
Accept wildcard characters: False
-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-MtHighRiskAppPermissions