Skip to main content
Version: 2.0.1 (preview)

Test-MtAIAgentNoAuthentication

SYNOPSISโ€‹

Tests if AI agents require user authentication.

SYNTAXโ€‹

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

DESCRIPTIONโ€‹

Checks all Copilot Studio agents for weak or missing authentication. Flags agents with no authentication configured, as well as agents where authentication is configured but 'Require users to sign in' is not enabled (trigger set to 'As Needed' instead of 'Always').

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Test-MtAIAgentNoAuthentication

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โ€‹

[bool] - Returns $true if all agents require authentication with sign-in enforced,โ€‹

$false if any agent has weak or missing authentication, $null if data is unavailable.โ€‹

NOTESโ€‹

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