Share via

How to enable Content Filters for Azure AI Foundry Agents?

Lasse Skytt 40 Reputation points
2025-09-05T08:12:14.6833333+00:00

I am working with Azure AI Foundry and have created an Agent using a GPT-4o-mini deployment. I want to apply a Content Filter so that both user prompts and model responses go through the same guardrails as with normal model deployments.

In the Foundry portal I can see how to apply a Content Filter to a basic model endpoint, but I don’t see any option in the Agent setup panel to attach an existing Content Filter.

Questions:

Is the ability to attach Content Filters to Agents generally available, or is it still in preview/region-limited rollout?

If it is available, where in the UI or API should I configure it?

If not yet available, is there an official roadmap or recommended workaround (e.g., attaching filters at the deployment level only)?

Any guidance or pointers to official documentation would be very helpful.

Thanks in advance!

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform

0 comments No comments

Answer accepted by question author

Aryan Parashar 3,695 Reputation points Microsoft External Staff Moderator
2025-09-08T04:17:23.0266667+00:00

Hi Lasse,
Content filters cannot be attached to agents; they can only be applied directly to model deployments.Here is the supported documentation:https://learn.microsoft.com/en-us/azure/ai-foundry/concepts/content-filtering#how-it-worksSince an Azure AI Agent always uses a model deployment, the filter must be attached at the deployment level for it to work with the Agent.

Here is the supported documentation on how to create a content filter in Azure AI Foundry:
https://learn.microsoft.com/en-us/azure/ai-foundry/concepts/content-filtering#create-a-content-filter-in-azure-ai-foundry

Feel free to accept this as an answer.
Thankyou for reaching out to the Microsoft QNA Portal.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

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.