An Azure service that enables users to identify content that is potentially offensive, risky, or otherwise undesirable. Previously known as Azure Content Moderator.
First confirm the source. A blocked Azure OpenAI input returns HTTP 400 with code content_filter; the raw result can show jailbreak.detected and jailbreak.filtered. An HTTP 200 refusal without annotations is not proof that Prompt Shields blocked it; it can come from the model, Semantic Kernel prompt, or application logic.
For each occurrence, log the request ID, status, finish reason, prompt_filter_results or content_filter_results, and the serialized messages: system instructions, history, tool output, retrieved documents, and input. The full request matters. Trim history only after identifying a triggering segment; blind retries are not a production fix.
Create a custom filter under Guardrails + controls, attach it to the deployment, and test Prompt Shields as annotate-only if permitted. Keep trusted instructions separate from untrusted documents. For reproducible benign cases, submit request IDs, timestamps, and payloads through Filters Feedback or Microsoft Support. Microsoft documents no universal false-positive rate or deployment setting that eliminates detections.