Azure AI Content Safety retires 6 features on 30 April 2027: what replaces them

Replace groundedness detection with a judge you own, move containers to the cloud APIs and re-test every guardrail before 30 April 2027.

Read time
16 min
Word count
2.5K
Sections
11
FAQs
8
Share
Two engineers review a content-safety migration checklist at a desk, with Azure and Microsoft Foundry labels
On this page · 11 sections
  1. What Microsoft announced on 23 November 2026
  2. The six retirements and their replacements
  3. Groundedness detection: the change RAG teams will feel
  4. Containers and the embedded SDK: the end of offline Content Safety
  5. Analyze Multimodal: rebuild it as three calls
  6. Custom categories (rapid): blocklists or a classifier
  7. What is not retiring
  8. A five-month migration plan
  9. India-specific considerations
  10. How eCorpIT can help
  11. References

Summary. On 23 November 2026 Microsoft posted a retirement notice for six preview capabilities of Azure AI Content Safety, all ending on 30 April 2027, 154 days from today. The six are Analyze Multimodal, custom categories (rapid) for text and images, connected containers for Text, Image and Prompt Shields, disconnected containers for Text and Image, the Embedded Content Safety SDK, and groundedness detection in both Content Safety and Azure OpenAI. The core text and image moderation APIs, Prompt Shields in the cloud, protected material detection and task adherence are not on the list. Microsoft's suggested replacements are uneven. For groundedness it points to Foundry evaluation tooling or a grounding check you build yourself with an LLM or a system prompt. For containers and the embedded SDK it points to the cloud REST APIs, which ends the on-premises and offline option unless Azure support offers something else. Standard text moderation lists at $0.375 per 1,000 text records and images at $0.75 per 1,000 in East US. Our verdict: groundedness and offline-container users have the real work, so start those re-tests in December, not April.

About this article. This is for AI platform teams, architects and security leads who run retrieval-augmented generation (RAG) apps or agents on Azure OpenAI, Microsoft Foundry or Azure AI Content Safety. On 27 November 2026 we checked every date, feature name, limit and price here against the Azure Updates record, the Microsoft Learn pages for each retiring feature, the Foundry guardrails and evaluation documentation, the Content Safety pricing page and the Azure Retail Prices API. Prices are US dollar list prices and change; this is technical guidance, not legal advice, and no vendor paid for inclusion. Researched with AI assistance and checked against the primary sources listed in the references.

What Microsoft announced on 23 November 2026

The Azure Updates entry, ID 577474, is tagged Retirements and was created at 18:11 UTC on 23 November 2026. It names six preview capabilities of Azure AI Content Safety that retire on 30 April 2027 and asks users to review the recommended alternatives and plan a migration before that date. The Content Safety overview and the service's What's new page carry the same list, and each affected feature page now opens with its own retirement banner and suggested alternative.

Three details matter more than the headline:

  • Every retiring item is a preview. Microsoft labels all six as public preview capabilities, and the notice gives a little over five months.
  • Groundedness retires in two places. The notice covers the standalone Content Safety API and the groundedness control inside Azure OpenAI content filters, now called guardrails in Microsoft Foundry. Microsoft states that the other guardrail controls are not part of this retirement.
  • Prompt Shields only loses its container. The Prompt Shields container retires, but the Prompt Shields cloud API and the user prompt attack and indirect attack controls in Foundry guardrails stay.

A sibling feature is already on its way out: Microsoft's custom categories page gives 1 September 2026 as the retirement date for custom categories (standard), with a pointer to custom text classification in Foundry.

The six retirements and their replacements

The table maps each retiring capability to the alternative Microsoft names on its Learn page, as of 27 November 2026.

Retiring capability What it did Microsoft's suggested replacement Effort
Groundedness detection (Content Safety API) Flagged and optionally corrected answers not supported by supplied sources Foundry evaluation tooling, or your own LLM or system-prompt grounding check High
Groundedness in Azure OpenAI guardrails Ran the same check as a content filter on model output Same as above; other guardrail controls are unaffected High
Analyze Multimodal Scored an image and its text together Analyze Image, plus OCR from Document Intelligence or Content Understanding, plus Analyze Text Medium
Custom categories (rapid), text and image Matched emerging harmful patterns you defined quickly Blocklists for exact terms; custom text classification for text Medium
Connected and disconnected containers Ran Text, Image and Prompt Shields models in your own environment Content Safety cloud REST APIs, or talk to Azure support High if offline
Embedded Content Safety SDK Ran moderation on Windows x64 devices without the cloud Content Safety cloud REST APIs High if offline

Two rows have no like-for-like answer. Image moderation inside a custom category has no named replacement, because the suggested alternatives for rapid custom categories are text-only. And nothing in Microsoft's guidance replaces local execution: the containers page tells users to move to the cloud APIs where connectivity exists, or contact support.

Groundedness detection: the change RAG teams will feel

Groundedness detection compared an LLM answer with the source passages you supplied and returned whether the answer was grounded. It offered a fast non-reasoning mode and a slower reasoning mode that explains each ungrounded segment, Medical and Generic domains, Summarization and QnA task types, and a preview correction feature that rewrote the unsupported span from the sources. Microsoft documents it as optimised for English only.

In Azure OpenAI and Foundry, the same check sat in guardrails as Groundedness (preview). The guardrails overview lists it as applicable to models but not to agents, so agent guardrails never ran it. It was also available only in a subset of Azure regions.

Microsoft's guidance is to evaluate Foundry evaluation tooling or build customer-owned grounding validation using an LLM or a system prompt. That splits into two jobs the old API did at once.

Offline evaluation: Foundry's Groundedness evaluator

Foundry has two built-in groundedness evaluators. Groundedness uses a GPT deployment you supply as the judge, takes the response and context (query optional), and returns a score from 1 to 5 with a default pass threshold of 3. Groundedness Pro (preview) returns a pass or fail result and is powered by the Azure AI Content Safety service. Microsoft has not said whether Groundedness Pro depends on the retiring groundedness API. Because it runs on the Content Safety service, we would not build a new release gate on it until Microsoft clarifies; use the GPT-judged Groundedness evaluator for regression suites. Cloud evaluation needs a Foundry project, a chat-completion GPT deployment and the Foundry User role.

This covers pre-release testing and sampled production monitoring. It does not block a bad answer before the user sees it.

Inline blocking: a check you own

If your app refused or rewrote an answer when groundedness detection flagged it, you need a runtime check. The minimum version is a second, small LLM call that receives the retrieved passages and the draft answer and returns a structured verdict. A sketch:


            def grounding_gate(answer: str, passages: list[str], judge) -> dict:
    """Return a verdict before the answer reaches the user.
    judge is any chat-completion client you already run."""
    prompt = {
        "instructions": (
            "List every factual claim in ANSWER. For each, say whether "
            "PASSAGES support it. Reply as JSON: "
            '{"claims":[{"text":..., "supported":true|false}]}'
        ),
        "PASSAGES": passages,
        "ANSWER": answer,
    }
    result = judge(prompt, response_format="json")
    unsupported = [c for c in result["claims"] if not c["supported"]]
    return {
        "grounded": not unsupported,
        "unsupported": unsupported,
    }
          

Design points that matter more than the prompt wording:

  • Fail closed for high-risk answers. If the judge times out on a medical, legal or pricing answer, return the fallback message rather than the draft.
  • Keep the judge separate from the generator. Use a different deployment, or at least a different system prompt and temperature 0, so the generator cannot argue its own case.
  • Replace the correction feature deliberately. The old preview correction rewrote unsupported spans. Re-generating with a stricter instruction and the unsupported claims listed is usually safer than letting the judge edit text.
  • Budget latency. A second call adds a model round trip to every answer. The old non-reasoning mode existed for exactly this reason.
  • Re-baseline thresholds. A 1 to 5 judge score, a pass label and the old binary verdict are not interchangeable. Rerun your labelled test set and pick a cut-off from the results.

Our RAG evaluation tools comparison covers open-source and commercial faithfulness metrics if you want a second opinion beside Foundry.

Containers and the embedded SDK: the end of offline Content Safety

The Content Safety containers ran Analyze Text, Analyze Image and Prompt Shields for user prompts and documents in your own environment, and the whole container offering was itself in public preview. Disconnected use required an approval form, answered within 10 business days. After 30 April 2027 these images are no longer supported, and Microsoft's instruction is to move to the cloud REST APIs where connectivity is available, or contact Azure support to discuss alternatives.

The Embedded Content Safety SDK, shipped inside the C++ SDK under limited access, supported only Windows 10 or later on x64 hardware and targeted devices with intermittent connectivity, such as PCs or cars. It also retires on 30 April 2027, with the same cloud-API instruction.

What this means in practice:

  • Connected containers. These already sent billing data to Azure and were not licensed to run without the metering connection. Moving to the cloud API is mostly a change of endpoint plus a data-flow review, because content now leaves your network for analysis rather than only billing metadata.
  • Disconnected containers and the embedded SDK. Microsoft's guidance names no hosted offline equivalent. Teams in air-gapped, defence, banking or in-vehicle settings must accept a network path to Azure, ask support what is available, or move moderation to a self-hosted open model they maintain themselves.
  • Check which images you run. The Azure Updates record lists disconnected containers for Text and Image, while the containers page names connected and disconnected containers for Text, Image and Prompt Shields. Either way, every Content Safety container image is covered by the retirement.

For connected users the price difference is small. The table shows commitment-tier list prices from the Azure Retail Prices API for East US on 27 November 2026, comparing the connected-container meters with the cloud API meters.

Meter Connected container Azure cloud API Difference
Text, 1M records commitment per month $321 $338 +$17 (5.3%)
Text overage per 1,000 records $0.321 $0.338 +$0.017
Image, 250K images commitment per month $160 $169 +$9 (5.6%)
Image overage per 1,000 images $0.641 $0.675 +$0.034
Standard pay-as-you-go text per 1,000 records Not applicable $0.375 Not applicable
Standard pay-as-you-go images per 1,000 Not applicable $0.75 Not applicable

Using the ECB euro reference rates of 26 November 2026, crossed to ₹92.45 per US dollar and rounded to two decimals, the text commitment moves from about ₹29,676 ($321 × 92.45) to about ₹31,248 ($338 × 92.45) a month. The cost is not the obstacle; the network path is.

Analyze Multimodal: rebuild it as three calls

Analyze Multimodal scored an image together with its text, keeping the context between the two, so a meme whose caption changed the meaning of the picture could be caught as one item. Microsoft's suggested replacement chains three services: Analyze Image for the visual, Document Intelligence or Content Understanding to extract text from the image, and Analyze Text for the extracted and accompanying text.

The trade-off is context. Two separate scores will not see that harmless text plus a harmless image can be harmful together, so add a rule that escalates items where both scores sit just below your block level, or route those to human review.

Cost is predictable. A text record is up to 1,000 Unicode characters, and longer inputs count one record per started 1,000 characters. For 100,000 posts a month, each with one image and 2,000 characters of caption plus extracted text:

  • Images: 100,000 × $0.75 / 1,000 = $75.
  • Text: 100,000 × 2 records = 200,000 records; 200,000 × $0.375 / 1,000 = $75.
  • Total: $150 a month (about ₹13,868 at ₹92.45 per dollar), before the OCR service's own charges.

Custom categories (rapid): blocklists or a classifier

Rapid custom categories let you describe an emerging harmful pattern and scan text and images for matches. Microsoft's text-only alternatives are:

  • Blocklists for exact terms and phrases. They hold up to 10,000 terms across all lists, each item up to 128 characters, added at most 100 per request, and the documented calls use api-version 2024-09-01.
  • Custom text classification when you need a trained model rather than term matching.

Check the date on the second option. The custom text classification page says the feature retires from Azure Language on 31 March 2029 and directs new projects to Microsoft Foundry. Building a new classifier there now means planning a second move later; a Foundry model prompted with your policy and a few examples is the direction Microsoft is pointing.

For image patterns, you are left with Analyze Image's fixed harm categories or your own vision model.

What is not retiring

Several controls teams sometimes confuse with the retiring list remain in place, according to the Content Safety overview and the Foundry guardrails page on 27 November 2026.

Capability Status after 30 April 2027 Where it lives
Analyze Text and Analyze Image Continues Content Safety API and Foundry guardrails
Prompt Shields (user prompt and document attacks) Continues in the cloud Content Safety API and Foundry guardrails
Protected material for text and code Continues Content Safety API and Foundry guardrails
Task adherence (preview) Continues Content Safety API and Foundry guardrails
Blocklists Continues Content Safety API
PII detection in guardrails (preview) Continues Foundry guardrails

The Prompt Shields cloud API uses api-version 2024-09-01. Send untrusted user input in the userPrompt field and third-party content such as documents, emails and web pages in the documents array, and do not send your system prompt, which Microsoft says causes false positives. For agents in Foundry, Prompt Shields can also scan tool responses for document attacks, a preview capability. Our guide to prompt injection guardrails for AI agents covers how to layer these.

Microsoft is also changing the models under the surviving controls. An October 2026 update to text harm classification and Prompt Shields jailbreak and indirect attack detection started in Spain Central and is rolling out region by region, and Microsoft warns that classifications and filtering outcomes may differ from before. If you are re-testing guardrails for the retirement anyway, re-test these thresholds in the same pass.

A five-month migration plan

  1. December: inventory. Search code and infrastructure for calls to the groundedness detection and Analyze Multimodal APIs, custom category calls, Content Safety container images, and the embedded SDK. In Foundry, list every guardrail that has the Groundedness (preview) control switched on.
  1. December to January: build a labelled set. Pull a few hundred real RAG answers your current groundedness check passed and failed, and have domain staff mark the truth. This set lets you compare old and new behaviour.
  1. January to February: build replacements. Stand up the grounding gate and the Foundry Groundedness evaluator, the three-call multimodal chain, blocklists, and cloud endpoints for container users.
  1. March: run in parallel. Log old and new verdicts side by side on live traffic without acting on the new ones, then tune thresholds against the labelled set.
  1. April: switch and remove. Cut over well before 30 April 2027, remove the retired calls and container images, and update your risk register and model cards to describe the new controls.

For gateway-level controls in front of several model providers, see our AI gateway comparison and our cost model for AI agent guardrails at 10 million requests.

India-specific considerations

Banks, insurers, hospitals and public-sector bodies that chose disconnected containers to keep content on their own infrastructure face the biggest change. Moving to the cloud APIs means user prompts and model output are processed in an Azure region, so record that change in your Digital Personal Data Protection Act documentation and confirm which Indian regions offer each API you need before you design the new flow. If a regulator or contract requires processing to stay on premises, the replacement is a self-hosted model you operate, and that needs its own evaluation set and patching plan.

How eCorpIT can help

eCorpIT is a Gurugram-based technology organisation, founded in 2021, assessed at CMMI Level 5 and MSME certified, with senior-led engineering teams working across AWS, Microsoft and Google platforms. Our artificial intelligence and machine learning services team can inventory your Content Safety and Foundry guardrail usage, build and tune a grounding check against your own labelled answers, and run the parallel test before 30 April 2027. Talk to us at /contact-us/.

Last updated: 27 November 2026.

References

  1. Retirement: Azure AI Content Safety selected features will be retired on April 30, 2027, Azure Updates record 577474 (created 23 November 2026) — Microsoft
  1. What is Azure AI Content Safety? — Microsoft Learn
  1. Guardrails and controls overview in Microsoft Foundry — Microsoft Learn
  1. Groundedness detection in Azure AI Content Safety — Microsoft Learn
  1. Content safety containers overview — Microsoft Learn
  1. Embedded content safety — Microsoft Learn
  1. Azure Retail Prices API, Content Safety meters in East US (queried 27 November 2026) — Microsoft
  1. What's new in Azure AI Content Safety? — Microsoft Learn
  1. Custom categories in Azure AI Content Safety (preview) — Microsoft Learn
  1. Quickstart: Analyze multimodal content — Microsoft Learn
  1. Groundedness Detection Filter, Microsoft Foundry — Microsoft Learn
  1. Retrieval-Augmented Generation (RAG) evaluators for generative AI, Microsoft Foundry — Microsoft Learn
  1. Introduction to cloud evaluation with Microsoft Foundry SDK — Microsoft Learn
  1. Euro foreign exchange reference rates, 26 November 2026 — European Central Bank
  1. Azure Content Understanding in Foundry Tools documentation — Microsoft Learn
  1. Content Safety in Foundry Control Plane pricing — Microsoft Azure
  1. Use blocklists for text moderation — Microsoft Learn
  1. Custom text classification, Foundry Tools — Microsoft Learn
  1. Quickstart: Detect prompt attacks with Prompt Shields — Microsoft Learn
  1. Prompt Shields in Azure AI Content Safety — Microsoft Learn

Frequently asked

Quick answers.

01 Which Azure AI Content Safety features retire on 30 April 2027?
Six preview capabilities retire: Analyze Multimodal, custom categories (rapid) for text and image, connected containers for Text, Image and Prompt Shields, disconnected containers for Text and Image, the Embedded Content Safety SDK, and groundedness detection in both Azure AI Content Safety and Azure OpenAI. Microsoft posted the notice on 23 November 2026.
02 Does Prompt Shields stop working on 30 April 2027?
No. Only the container that ran Prompt Shields in your own environment retires. The Prompt Shields cloud API and the user prompt attack and indirect attack controls in Microsoft Foundry guardrails continue, so cloud users need no change, although an October 2026 model update means thresholds are worth re-testing anyway.
03 What replaces groundedness detection in a RAG app?
Microsoft suggests Foundry evaluation tooling or a grounding check you build with an LLM or a system prompt. In practice that means the Foundry Groundedness evaluator for offline and sampled testing, plus a separate judge model call at runtime if your application blocked or rewrote ungrounded answers before users saw them.
04 Will Groundedness Pro in Foundry evaluations keep working?
Microsoft has not said. The Groundedness Pro evaluator is a preview that runs on the Azure AI Content Safety service, which is why we would treat it as at risk. The GPT-judged Groundedness evaluator uses your own model deployment and returns a 1 to 5 score, so it is the safer choice for new release gates.
05 Is there an offline replacement for Content Safety containers?
Microsoft does not name one. Its guidance is to move to the Content Safety cloud REST APIs where connectivity is available, or to contact Azure support about alternatives. Teams that need fully offline moderation should plan for a self-hosted open model they operate, evaluate and patch themselves, or secure a network path to Azure.
06 How much more does the cloud API cost than a connected container?
On East US list prices checked on 27 November 2026, a one million text record monthly commitment costs $338 in the cloud against $321 for a connected container, a rise of $17 or 5.3 percent. Image commitments rise from $160 to $169 for 250,000 images. Pay-as-you-go text is $0.375 per 1,000 records.
07 Do agent guardrails in Foundry lose anything?
Very little. Foundry's guardrails overview lists the Groundedness preview control as applicable to models but not to agents, so agent guardrails never ran it. The retirement therefore affects model deployments with groundedness switched on, while agent controls such as Prompt Shields, protected material and task adherence continue unchanged.
08 How long does a migration usually take?
Allow most of the five months for groundedness and offline containers. Building a labelled test set, writing the replacement check and running old and new verdicts side by side each take weeks. Multimodal and blocklist changes are smaller and can often be finished in a few sprints, but start the inventory in December.

About the author

Manu Shukla

Founder & Director

Founder of eCorpIT. Hands-on engineer leading senior-only delivery for AI apps, custom software, and cloud systems for global clients.

Subscribe

One engineering note a week. No fluff, no spam.

Senior-architect playbooks on AI agents, mobile apps, cloud, security, data, and marketing — delivered every Wednesday.

Past the reading

Read enough. Let's build something.

A senior architect responds in 24 working hours with scope, indicative cost, and a timeline. NDA before any technical conversation.

Weekly engineering notes

Enjoying this article? Get one like it every Wednesday.

Senior-architect playbooks on AI agents, mobile apps, cloud, security, data and marketing. Unsubscribe in one click.

We email a link to confirm your address. Privacy

Loading search…

Browse all guides