BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDeveloping AI Apps and Agents on Azure (AI-103)Enforce visual policy rules such as watermarks, prohibited symbols, brand requirements, and inappropriate content detection
Lesson2,789 words

Enforce visual policy rules such as watermarks, prohibited symbols, brand requirements, and inappropriate content detection

AI-103 › Unit 3: Implement computer vision solutions › Implement responsible AI for multimodal content › Enforce visual policy rules such as watermarks, prohibited symbols, brand requirements, and inappropriate content detection

Enforce visual policy rules such as watermarks, prohibited symbols, brand requirements, and inappropriate content detection

Organisational visual policy is broader than the platform's safety taxonomy, and that mismatch is the whole objective. Harm categories cover four things and cannot be extended. Everything else — a prohibited symbol list, brand mark rules, provenance marking, licensed-character avoidance — is assembled from separate instruments, each with its own boundary.

Why This Matters

Policy is a portfolio, not a setting. Four different mechanisms cover four different requirement shapes, and a scenario usually mixes them.

Provenance travels with the file; a log does not. Content Credentials, implementing C2PA, are embedded in the media itself.

Some rules can only be checked by a model you train or configure. A prohibited symbol is not a term, not a harm category, and not protected material.

Four instruments, four shapes

Harmful content → the four harm categories (fixed, not extensible). Known copyrighted content in output → protected material. Where this file came from → Content Credentials (C2PA). Our own visual rules — symbols, logos, brand marks → a classifier: Azure ML AutoML detection or a Content Understanding classify field, plus review.

Prerequisites

  • The four harm categories, severity levels, and the image trim.
  • That blocklists match terms and are applied as input, output, or both filters.
  • Content Credentials as C2PA provenance metadata.
  • The Custom Vision retirement and AutoML as the detection path.

Learning Objectives

By the end of this lesson you will be able to:

  1. Map a visual policy rule to the instrument that can enforce it.
  2. Apply Content Credentials for provenance and disclosure.
  3. Distinguish protected material from brand and IP policy.
  4. Build a custom classifier path for organisation-specific rules.
  5. Place human review where automation cannot decide.

Building Blocks

The instruments.

InstrumentCoversBoundary
Harm categoriesHate and Fairness, Sexual, Violence, Self-HarmFixed — cannot be extended
BlocklistsEnumerable terms, as input, output, or bothText only — cannot see pixels
Protected materialKnown copyrighted content in output (text and code, GA, On)Not brand compliance, not provenance
Content CredentialsProvenance — that content is AI-generated and by which modelRecords origin; does not detect anything
Custom classifierYour own visual rulesNeeds labelled data (AutoML) or a schema (Content Understanding)

Model-level generation policy. Sora 2 "blocks all IP and photorealistic content", rejects copyrighted characters and copyrighted music, cannot generate real people including public figures, rejects input images with faces of humans, and produces only content suitable for audiences under 18. These are model behaviours, not configuration.

The classifier paths. Azure Machine Learning AutoML trains "custom image classification and object detection models", with a no-code studio experience — the migration target now that Custom Vision must be left by 25 September 2026 and retires 25 September 2028. Content Understanding offers a classify field with an enum, requiring no training data.

Verification. Confidence scores from 0 to 1 and grounding to source regions, enabled with estimateFieldSourceAndConfidence, support routing rather than reviewing everything.

Two ways to build a custom visual check

Attribute
Needs training data

Yes — labelled images

No — a schema and an enum

Returns

Labels and bounding boxes

A category per field

Locates instances

Yes

No

Setup effort

Higher — labelling and training

Lower

Fits

Counting, locating, precise detection

Presence, category, triage at scale

Deep Dive

Mapping the rule to the instrument

Visual policies arrive as a list, and each line resolves to one instrument.

"No graphic violence." — a harm category, handled by the content filter at a threshold you set, defaulting to medium on prompts and completions.

"Never show these twelve prohibited symbols." — not a harm category, and not a blocklist, because a blocklist matches terms and a symbol is not a term. This needs a classifier.

"Generated images must be identifiable as AI-generated downstream." — Content Credentials, embedded so they travel with the file.

"Do not reproduce licensed characters." — protected material addresses known copyrighted content in output, and on the generation side Sora 2 blocks all IP and rejects copyrighted characters and music as model behaviour.

"Our logo must appear at the correct size and clear space." — a brand rule requiring measurement of a specific mark. A classifier can flag presence; correctness of placement generally needs review or purpose-built checking.

The pattern to internalise: harm categories are fixed, blocklists are textual, protected material is about known copyrighted works, and anything organisation-specific and visual needs a classifier you build.

Assembling visual policy enforcement

  1. 1

    Split the policy line by line

    Harmful content, IP, provenance, brand, and organisation-specific rules are different instruments.

Provenance: Content Credentials

Provenance answers a question no detector can: where did this file come from?

Content Credentials implement the C2PA standard, attaching signed metadata to the media recording that it was AI-generated and by which model. Being embedded, it travels with the file — surviving download, forwarding, and publication outside your tenancy.

The alternatives a question will offer all fail for a specific reason. A log entry stays in your subscription and does not accompany the artefact. A visible watermark is a visual mark, not machine-readable signed metadata, and can be cropped. Protected material detection is about known copyrighted content appearing in output — a different question entirely.

So whenever the requirement mentions downstream consumers, disclosure, or provable origin, the answer is Content Credentials. And note what it is not: it records origin, it does not detect anything, so it is never the answer to "find images that break our rules".

Building the organisation-specific check

Most real visual policy is organisation-specific, and there are two routes.

Azure Machine Learning AutoML trains custom classification and object detection models on your labelled images, offering "a code-first experience, as well as a no-code studio web experience similar to Custom Vision". It is the right choice when instances must be located or counted — every occurrence of a prohibited symbol, with positions. Its cost is that it needs labelled training data.

Content Understanding's classify method returns a category from an enum with no training data, and pairs naturally with a generate field carrying an explanation. It is the right choice for presence and triage at scale: does this image appear to contain a prohibited mark, what category is it, is it compliant. It does not produce bounding boxes.

The scalable pattern combines them: classify broadly to narrow the set, then run precise detection only on flagged assets. That keeps the expensive path small — the same shape as the video hybrid, for the same reason.

And the deadline governs both: Custom Vision must be left by 25 September 2026 and retires 25 September 2028, so it is never the recommendation.

Brand compliance is usually a review workflow

A classifier can answer "is the logo present?" reasonably well. "Is it the approved variant, at the minimum size, with the required clear space, on an approved background?" is a measurement question against a specification — closer to a linting rule than a perception task. Expect the automated step to triage and a human or purpose-built check to decide, and design the confidence routing accordingly.

Where the checks belong in the pipeline

Placement matters as much as instrument choice.

At generation. Prompt and output moderation both run, and model-level policy applies — Sora 2's blocking of IP and photorealistic content, real people, and faces in input images. Attach Content Credentials here, because provenance is cheapest to add at the moment of creation.

At ingestion. Third-party images should be classified on the way in, before they reach a model or an index. This is also where text extraction and screening belong, for the injection reason covered separately.

Before publication. The last gate, where organisation-specific classifiers and human review sit. This is the only place a brand rule can be meaningfully enforced, because it concerns the finished asset.

Two things to carry across all three: confidence-based routing, so review effort lands where scores are low, and the fact that x-policy-id is unavailable for image input, so per-caller policy variation means separate deployments rather than a per-request header.

Worked Examples

Example 1 — a partner's prohibited symbol list, plus disclosure. A partner requires that twelve named symbols never appear in generated images, and that recipients can verify the images are AI-generated.

Two instruments. The symbols need a classifier — AutoML if occurrences must be located, or a Content Understanding classify field for presence — because the harm taxonomy cannot be extended and a blocklist matches terms, not pixels. Disclosure needs Content Credentials (C2PA), embedded so they travel with the file; a log entry stays behind.

Example 2 — licensed characters. A studio must ensure generated video never depicts licensed characters.

Largely handled at the model: Sora 2 "blocks all IP and photorealistic content" and rejects copyrighted characters and copyrighted music — model behaviour, not a setting to configure. Protected material detection addresses known copyrighted content in output as a complementary control. Neither is a brand-compliance check, and neither records provenance.

Example 3 — logo usage rules. Marketing wants automated enforcement of logo size, clear space, and approved variants.

Automate the triage: a classifier flags images where the logo is present and apparently non-conforming, with confidence scores routing the uncertain ones. Decide with human review or a purpose-built geometric check — placement and clear space are measurements against a specification, not a perception category, and treating a classifier's output as the ruling will produce both false approvals and false rejections.

Visual Explanations

Rule to instrument:

Loading Diagram...
Figure 1 — Mermaid diagram

Where each check runs:

Loading Diagram...
Figure 2 — Mermaid diagram

Common Mistakes

Trying to add a category to the harm taxonomy. It is fixed.

Using a blocklist for a symbol or logo. Blocklists match terms.

Choosing a log entry for provenance. Content Credentials travel with the file.

Confusing protected material with brand compliance.

Expecting Content Credentials to detect anything. They record origin.

Recommending Custom Vision. Transition by 25 September 2026.

Treating a classifier score as a brand ruling. Triage, then decide.

Assuming AutoML is available without labelled data.

Trying to vary image policy per request. x-policy-id is unavailable for image input.

Practice Exercises

  1. Map each to an instrument: graphic violence; a prohibited symbol; AI-generated disclosure; a licensed character.
  2. Why is a blocklist wrong for a prohibited symbol, and what is right?
  3. What does Content Credentials do and not do?
  4. When would you choose AutoML over Content Understanding classify, and what does it cost?
  5. Why is logo-usage compliance a review workflow rather than a classifier output?
▶Answers
  1. Graphic violence → a harm category with a threshold. Prohibited symbol → a classifier you build (AutoML or Content Understanding classify). AI-generated disclosure → Content Credentials (C2PA). Licensed character → protected material plus model-level blocking, since Sora 2 "blocks all IP" and rejects copyrighted characters and music.
  2. Because a blocklist matches terms — it is a text control applied as an input filter, output filter, or both — and a symbol is not a term. The harm taxonomy also cannot be extended. The right instrument is a classifier: AutoML detection if occurrences must be located, or a Content Understanding classify field for presence.
  3. It records provenance — signed C2PA metadata embedded in the media stating the content is AI-generated and by which model, travelling with the file through distribution. It does not detect anything, so it never answers "find images that break our rules".
  4. When instances must be located or counted — bounding boxes per occurrence. It costs labelled training data, which classify does not require. classify returns a category with no training but no positions.
  5. Because "is the logo present?" is a perception question a classifier handles, while approved variant, minimum size, clear space, approved background are measurements against a specification — closer to a linting rule. Automate triage with confidence routing; let a human or a purpose-built geometric check decide.

Summary & Concept Map

Visual policy enforcement is assembled from four instruments with hard boundaries. The harm categories are fixed and not extensible, covering hate, sexual, violence, and self-harm at a threshold you set. Blocklists match terms and therefore cannot see pixels at all. Protected material detects known copyrighted content in output, complemented on the generation side by model-level policy — Sora 2 blocking all IP and photorealistic content, rejecting copyrighted characters and music, real people, and faces in input images. Content Credentials (C2PA) record provenance, embedded so they travel with the file, and detect nothing. Everything organisation-specific — prohibited symbols, brand marks — needs a classifier you build: AutoML where instances must be located (at the cost of labelled data), or a Content Understanding classify field for presence and triage. Place checks at generation, ingestion, and before publication, route on confidence, and leave brand correctness to review.

Loading Diagram...
Figure 3 — Mermaid diagram
Loading flashcards…

Sources and freshness

Written against current Microsoft Learn documentation for the AI-103 skills measured (16 April 2026), reviewed 2026-08-20. Microsoft Learn controls every changing product contract — availability, preview status, quotas, limits, regional support, naming, and retirement dates all move independently of this lesson. Where a scenario turns on a specific number or a GA/preview boundary, confirm it against the product's own page before relying on it.

All Developing AI Apps and Agents on Azure (AI-103) Study Resources

Related Notes

  • Choose an appropriate method for retrieval and indexing2,778 words
  • Quick Note — Choose an appropriate method for retrieval and indexing888 words
  • Choose an appropriate model for each task, including LLMs, small language models, multimodal models, and Foundry Tools3,097 words
  • Quick Note — Choose an appropriate model for each task, including LLMs, small language models, multimodal models, and Foundry Tools1,041 words
  • Choose appropriate memory, tool, and knowledge integration services for agent solutions2,815 words
  • Quick Note — Choose appropriate memory, tool, and knowledge integration services for agent solutions949 words
  • Choose the appropriate Foundry services for generative tasks, grounding, vector search, agent workflows, or multimodal processing2,733 words
  • Quick Note — Choose the appropriate Foundry services for generative tasks, grounding, vector search, agent workflows, or multimodal processing901 words
  • Apply responsible AI instrumentation, including evaluators, safety evaluations, and explanation tooling2,891 words
  • Configure safety filters, guardrails, risk detection, and content moderation2,795 words
  • Govern agent behavior with oversight modes, constraints, and tool-access controls2,863 words
  • Implement auditing through trace logging, provenance metadata, and approval workflows2,624 words

Ready to study Developing AI Apps and Agents on Azure (AI-103)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Developing AI Apps and Agents on Azure (AI-103)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Developing AI Apps and Agents on Azure (AI-103) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.

Loading Diagram...
Flowchart, top to bottom. Policy line connects to Harmful content?. H connects to Harm categories -<br/>threshold per direction<br/>FIXED taxonomy (Yes). H connects to Known copyrighted work? (No). I connects to Protected material<br/>+ model-level IP blocking (Yes). I connects to About the file's ORIGIN? (No). V connects to Content Credentials C2PA<br/>embedded, travels with the file (Yes). V connects to Enumerable TERMS? (No). T connects to Blocklist - text only (Yes). 1 more statements.
Loading Diagram...
Flowchart, left to right. At generation connects to Prompt + output moderation. At generation] --> G1[Prompt + output moderation connects to Model-level policy: IP,<br/>photorealistic, faces. At generation] --> G1[Prompt + output moderation connects to Attach Content Credentials. At ingestion connects to Classify third-party images. At ingestion] --> N1[Classify third-party images connects to Extract + screen embedded text. Before publication connects to Organisation-specific classifiers. Before publication] --> B1[Organisation-specific classifiers connects to Brand review - human decides. Before publication] --> B1[Organisation-specific classifiers connects to Confidence routing.
Loading Diagram...
Flowchart, top to bottom. Visual policy connects to Instruments. Visual policy] --> INS[Instruments connects to Provenance. Visual policy] --> INS[Instruments connects to Custom checks. Visual policy] --> INS[Instruments connects to Placement. INS connects to Harm categories - FIXED. INS connects to Blocklists - TERMS only. INS connects to Protected material -<br/>known copyrighted content. INS connects to Model-level policy - not configurable. 10 more statements.

Visual policy enforcement — retrieval

Card 1 of 6

Front of flashcard 1 of 6

Why a prohibited symbol needs a classifier

medium

The harm taxonomy is fixed and cannot take a fifth category, and a blocklist matches terms, not pixels. A symbol is visual, so it needs a classifier: AutoML detection (labels and bounding boxes, needs labelled data) or a Content Understanding classify field (category, no training data).

custom

Visual policy enforcement — retrieval

Card 1

Front

Why a prohibited symbol needs a classifier

Back

The harm taxonomy is fixed and cannot take a fifth category, and a blocklist matches terms, not pixels. A symbol is visual, so it needs a classifier: AutoML detection (labels and bounding boxes, needs labelled data) or a Content Understanding classify field (category, no training data).

Card 2

Front

Content Credentials

Back

C2PA provenance metadata embedded in the media — records that content is AI-generated and by which model, and travels with the file. A log entry stays behind; a visible watermark is not machine-readable signed metadata. It records origin and detects nothing.

Card 3

Front

Protected material vs brand compliance

Back

Protected material detects known copyrighted content in output (text and code, GA, On). It is not a brand-compliance control and not provenance. Organisation-specific brand rules need a classifier you build.

Card 4

Front

AutoML vs Content Understanding classify

Back

AutoML — labels and bounding boxes, so instances can be located and counted; requires labelled images. classify — a category from an enum, no training data, no positions. Pattern: classify to narrow, then detect precisely.

Card 5

Front

Sora 2's model-level policy

Back

It "blocks all IP and photorealistic content", rejects copyrighted characters and copyrighted music, cannot generate real people including public figures, rejects input images with faces of humans, and produces only under-18-suitable content. Model behaviour, not configurable.

Card 6

Front

Why brand rules end in review

Back

"Is the logo present?" is perception; approved variant, minimum size, clear space, approved background are measurements against a specification — closer to linting. Automate triage with confidence routing; a human or purpose-built geometric check decides.

Visual policy enforcement — retrieval

Card 1

Front

Why a prohibited symbol needs a classifier

Back

The harm taxonomy is fixed and cannot take a fifth category, and a blocklist matches terms, not pixels. A symbol is visual, so it needs a classifier: AutoML detection (labels and bounding boxes, needs labelled data) or a Content Understanding classify field (category, no training data).

Card 2

Front

Content Credentials

Back

C2PA provenance metadata embedded in the media — records that content is AI-generated and by which model, and travels with the file. A log entry stays behind; a visible watermark is not machine-readable signed metadata. It records origin and detects nothing.

Card 3

Front

Protected material vs brand compliance

Back

Protected material detects known copyrighted content in output (text and code, GA, On). It is not a brand-compliance control and not provenance. Organisation-specific brand rules need a classifier you build.

Card 4

Front

AutoML vs Content Understanding classify

Back

AutoML — labels and bounding boxes, so instances can be located and counted; requires labelled images. classify — a category from an enum, no training data, no positions. Pattern: classify to narrow, then detect precisely.

Card 5

Front

Sora 2's model-level policy

Back

It "blocks all IP and photorealistic content", rejects copyrighted characters and copyrighted music, cannot generate real people including public figures, rejects input images with faces of humans, and produces only under-18-suitable content. Model behaviour, not configurable.

Card 6

Front

Why brand rules end in review

Back

"Is the logo present?" is perception; approved variant, minimum size, clear space, approved background are measurements against a specification — closer to linting. Automate triage with confidence routing; a human or purpose-built geometric check decides.