Test-MtEntraAgentBlueprintOpenAccess
SYNOPSIS
Finds Agent Identity Blueprint Principals that expose app roles without requiring assignment.
SYNTAX
Test-MtEntraAgentBlueprintOpenAccess [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Checks whether any Agent Identity Blueprint Principal declares enabled application roles while appRoleAssignmentRequired is false. When assignment isn't required, any principal in the tenant can be issued a token for those enabled roles without being explicitly assigned first, widening who can call into resources the Blueprint exposes.
EXAMPLES
EXAMPLE 1
Test-MtEntraAgentBlueprintOpenAccess
PARAMETERS
-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: 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-MtEntraAgentBlueprintOpenAccess
https://learn.microsoft.com/graph/api/agentidentityblueprintprincipal-list?view=graph-rest-1.0