Is there an API to evaluate and monitor prompt injection protection for Copilot Studio agents?

Atul kumar kashyap 0 Reputation points
2026-11-13T10:33:11.09+00:00

I want to assess whether agents are protected against prompt injection attacks.

I want to perform security drills using controlled test prompts and retrieve:

Agent name and ID.

Test scenario.

Prompt injection detection result.

Attack blocked or successful.

Guardrail triggered.

Test execution timestamp.

Security test pass/fail status.

Risk score, if available.

Does Microsoft provide an official API, security evaluation framework, or testing capability for automating prompt injection security drills?

Can these test results be retrieved through Copilot Studio, Azure AI Foundry, Microsoft Defender, or Application Insights?

Please share the recommended implementation approach and relevant APIs.

Microsoft Security | Microsoft Defender | Other
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.