Azure Content Understanding skill

Note

Foundry IQ (Azure AI Search) provides direct indexing and query APIs alongside higher-level knowledge source and knowledge base APIs for managed retrieval. Use the Azure portal, REST APIs, or Azure SDKs to configure these capabilities, or connect agents to knowledge bases in the Microsoft Foundry portal.

The Azure Content Understanding skill uses document analyzers from Azure Content Understanding in Foundry Tools to extract text, images, and location metadata from documents. It also chunks content for multimodal search, agentic retrieval, and retrieval-augmented generation (RAG). There's no need to add a Text Split skill for this chunking.

The base skill is generally available in Search REST API 2026-04-01. Semantic chunking and AI-generated image descriptions, introduced in 2026-05-01-preview, are generally available in Search REST API 2026-10-01. Use 2026-10-01 for the examples in this article. This Search API version is distinct from the downstream Content Understanding API version in Supported regions.

Compared with the Document Layout skill, this skill produces Markdown tables and figures, recognizes cross-page tables, and supports chunks that span pages. The following capabilities are independent:

  • Chunking: fixedSize splits by characters; semantic follows layout, paragraph, and heading boundaries using token lengths. Semantic chunking isn't semantic ranking.
  • Image extraction: extractionOptions containing images produces normalized_images. Extraction alone doesn't enable AI-generated descriptions.
  • Image descriptions: Paired modelName and modelDeployment settings enable descriptions of embedded figures, charts, and diagrams, inlined into the chunk's Markdown before vectorization. Semantic chunking alone doesn't enable descriptions.
  • Embeddings and image serving: Configure separate embedding skills for vectors. Extracting or describing images doesn't by itself make them available to a client or enable retrieval-time image serving.

For a Blob-based procedure, see Chunk and vectorize with Content Understanding.

For SharePoint documents, see Extract and enrich SharePoint documents in Foundry IQ (Azure AI Search). Choose the knowledge source API configuration for simpler setup and lifecycle operations, or the indexer and skillset configuration for more control.

Limitations

  • Search waits for document analysis within the analysis polling window. A large file isn't automatically unsuitable, and a file within service limits isn't guaranteed to finish within that window.

  • Content Understanding service behaviors for different document types apply to the output. For example, DOCX and PDF files can produce different image results. Test representative files; consider PDF conversion when consistent image handling is required.

  • The optional image-storage procedure in the how-to doesn't apply to pipelines that ingest document permissions. Review SharePoint ACL limitations before combining skills, projections, and storage.

  • Azure API Management (APIM) endpoints aren't supported for this skill. Search calls Content Understanding through the Foundry resource attached to the skillset. See API Management support boundaries.

  • The optional modelName and modelDeployment select a chat completion model deployed in the Foundry resource attached to the skillset.

  • Supported completion models are determined by Content Understanding's prebuilt-document analyzer. Follow Content Understanding supported generative models. Configuration acceptance alone doesn't certify that a selected model will work at runtime.

Analysis polling and large documents

The default maximum window for polling a Content Understanding document-analysis operation is eight minutes. After submitting asynchronous analysis, Search polls the operation for a terminal status. The window measures elapsed time in that polling loop, including polling waits and retries; it isn't a file-size threshold, a timeout for one HTTP request, or an end-to-end completion guarantee.

If the operation doesn't reach a terminal status within the polling window, the skill reports a skill-timeout enrichment error and returns no Content Understanding analysis output for that document. Inspect the indexer execution errors and warnings. Whether a document or an entire run fails depends on the remaining pipeline, projections, and configured indexer failure thresholds. Missing chunk output doesn't prove that all source metadata was prevented from being indexed. Stopping Search polling isn't evidence that the downstream analysis was cancelled.

This eight-minute analysis window is separate from the five-minute readiness-poll timeout for creating a custom analyzer, Document Layout limits, individual HTTP/skill request timeouts, retry delays, model quotas, and indexer runtime and tier limits. The skill doesn't expose a customer-facing analysis-poll override.

For large or complex documents:

  • Measure representative files, including page count, file type, layout, tables, figures, semantic chunking, and optional descriptions. Model/service load, throttling, and cross-region latency can affect elapsed time.
  • Place Search and Foundry resources in the same supported region where possible. Disable optional descriptions if you don't need them, or evaluate fixed-size chunking.
  • If you split files, preserve meaningful sections, cross-page tables, source identifiers, original page offsets, figure references, citations, and applicable permissions on every derived document and chunk.
  • Consider another supported extraction approach if it fits your content and security requirements. Reducing indexer batch size doesn't extend the per-document polling window.

Rerunning or resetting an indexer can repeat analysis and incur additional charges. Don't assume that retries reuse an earlier analysis result or resume its polling state. For diagnosis, see Troubleshoot Content Understanding analysis.

Supported regions

The skill calls the Content Understanding 2025-11-01 REST API. Your Foundry resource must be in a supported Content Understanding region.

Your Foundry IQ service can be in any supported Foundry IQ region. Cross-region network latency affects indexer performance.

Supported file formats

The skill recognizes PDF, JPEG, JPG, PNG, BMP, HEIF, TIFF, DOCX, XLSX, PPTX, HTML, TXT, MD, RTF, and EML files. For current format-specific restrictions, see Content Understanding service limits.

Supported languages

For printed text, see Content Understanding language support.

@odata.type

Microsoft.Skills.Util.ContentUnderstandingSkill

Data limits

Skill parameters

Parameters are case sensitive.

Parameter name Allowed values Description
extractionOptions ["images"], ["images", "locationMetadata"], ["locationMetadata"] Optional extra output. images extracts images; locationMetadata adds page and position information. Neither setting enables descriptions.
modelName String Optional chat-completion model name for embedded-image descriptions. Specify together with modelDeployment. The model must be supported by Content Understanding; see Supported generative models.
modelDeployment String Optional deployment name in the Foundry resource attached to the skillset. Specify together with modelName. Omit both properties to disable built-in descriptions.
chunkingProperties Object Optional chunking configuration described in the next table.

chunkingProperties

Property Allowed values Description
method fixedSize (default), semantic Fixed-size character windows or layout-aware semantic chunks.
unit characters with fixedSize; tokens with semantic If omitted, inferred from method. Other pairings aren't supported.
maximumLength 300–50,000 characters or 100–8,000 tokens Maximum chunk length in the configured unit. Default: 500.
overlapLength Nonnegative integer less than half of maximumLength Default: 0. Applies to fixedSize. For semantic, omit it or set it to 0.

Skill inputs

Input name Description
file_data Original file content, not already extracted text.

Use a file object containing $type: "file" and either data (the base64-encoded file bytes) or url (a downloadable file URL). An optional sasToken authenticates a Blob Storage file URL.

For Blob and SharePoint indexer pipelines, set parameters.configuration.allowSkillsetToReadFileData to true on the indexer. This exposes the original file as /document/file_data; it doesn't increase source or Content Understanding limits.

A custom skill can also return a file object where custom skills are supported. Don't use a custom Web API skill to bypass restrictions on permission-protected content.

Skill outputs

Output name Description
text_sections Collection of chunks, potentially spanning pages.
normalized_images Extracted images. Present only when extractionOptions includes images.

Each text_sections element contains:

Field Type Description
id String Chunk identifier.
content String Markdown content. Includes generated figure descriptions only when the paired model settings enable them, independently of chunking method.
locationMetadata Object pageNumberFrom, pageNumberTo, ordinalPosition, and source. Present when location metadata is requested.
imagePath String Semicolon-separated image references for overlapping figure spans, when applicable. Not a directly retrievable URL.

Each normalized_images element contains id, base64 image data, imagePath, and, when requested, locationMetadata.

locationMetadata.source preserves the Content Understanding element position encoding. Keep page and figure associations when projecting chunks. If a compatible knowledge store file projection is configured, imagePath identifies the relative stored image path.

Billing and image description controls

The skill uses your Microsoft Foundry resource attached to the skillset for processing and billing. The free document allowance available for some other built-in skills doesn't apply.

Content Understanding analyzer calls for layout parsing and extraction incur charges separately from Foundry IQ. When configured, image verbalization uses your LLM deployment in the same resource and incurs additional model usage charges. Review Content Understanding pricing, Foundry IQ pricing, and the pricing for your configured Azure OpenAI model.

To disable built-in image descriptions in a skillset you configure directly, omit or remove both modelName and modelDeployment from the Content Understanding skill. Keep extractionOptions containing images if you still need extracted images. Semantic or fixed-size chunking can continue without descriptions. Disabling descriptions doesn't eliminate applicable Content Understanding extraction/chunking, Search, embedding, or retrieval charges.

For generated knowledge-source pipelines using standard extraction, change the knowledge source's ingestionParameters rather than editing its generated skillset. The following controls apply to the normal GA configuration, without graph extraction:

  1. Set disableImageVerbalization to true.
  2. Omit or remove chatCompletionModel. Keeping a non-null model while setting the flag is rejected.
  3. Omit or remove assetStore, where supported. Asset-store validation requires a chat-completion model and image verbalization enabled.
  4. Keep the embedding model, aiServices, and other required source settings. Update the knowledge source using the procedure for its kind.
Description configuration Result
Generated: flag true, no chat model, no asset store Description opt-out; extraction and chunking can continue.
Generated: flag true, chat model retained Invalid. Remove chatCompletionModel.
Generated: asset store with no model or with flag true Invalid.
Generated: chat model, flag false or omitted Image verbalization can run; the selected extraction/model path determines the skill used.

These instructions don't apply to the independent preview graph-extraction configuration, which can use a chat model for other work. They don't change the separately documented availability of a knowledge-source kind or image serving.

Examples

These are complete skillset request bodies, not an entire indexing pipeline. Replace {endpoint} with your Search endpoint and <access-token> with a token for that service. Configure the Search managed identity and its Foundry permissions as described in Attach a Foundry resource.

Example 1: Fixed-size chunking with image and metadata extraction

This configuration extracts images without generating descriptions.

PUT {endpoint}/skillsets/cu-fixed?api-version=2026-10-01
Authorization: Bearer <access-token>
Content-Type: application/json

{
  "name": "cu-fixed",
  "skills": [
    {
      "@odata.type": "#Microsoft.Skills.Util.ContentUnderstandingSkill",
      "context": "/document",
      "extractionOptions": ["images", "locationMetadata"],
      "chunkingProperties": {
        "method": "fixedSize",
        "unit": "characters",
        "maximumLength": 1325,
        "overlapLength": 0
      },
      "inputs": [{"name": "file_data", "source": "/document/file_data"}],
      "outputs": [
        {"name": "text_sections", "targetName": "text_sections"},
        {"name": "normalized_images", "targetName": "normalized_images"}
      ]
    }
  ],
  "cognitiveServices": {
    "@odata.type": "#Microsoft.Azure.Search.AIServicesByIdentity",
    "subdomainUrl": "https://<foundry-resource>.services.ai.azure.com",
    "identity": null
  }
}

After indexing, expect text_sections with Markdown content and location metadata, plus normalized_images for extracted images. Figure references depend on the source document; no description model is configured in this example.

Example 2: Semantic chunking with image description

Replace <MODEL_NAME> with a supported chat-completion model name and <chat-deployment> with its deployment in the attached Foundry resource. For a configuration without descriptions, see Billing and image description controls.

PUT {endpoint}/skillsets/cu-semantic?api-version=2026-10-01
Authorization: Bearer <access-token>
Content-Type: application/json

{
  "name": "cu-semantic",
  "skills": [
    {
      "@odata.type": "#Microsoft.Skills.Util.ContentUnderstandingSkill",
      "context": "/document",
      "modelName": "<MODEL_NAME>",
      "modelDeployment": "<chat-deployment>",
      "extractionOptions": ["images", "locationMetadata"],
      "chunkingProperties": {
        "method": "semantic",
        "unit": "tokens",
        "maximumLength": 500
      },
      "inputs": [{"name": "file_data", "source": "/document/file_data"}],
      "outputs": [
        {"name": "text_sections", "targetName": "text_sections"},
        {"name": "normalized_images", "targetName": "normalized_images"}
      ]
    }
  ],
  "cognitiveServices": {
    "@odata.type": "#Microsoft.Azure.Search.AIServicesByIdentity",
    "subdomainUrl": "https://<foundry-resource>.services.ai.azure.com",
    "identity": null
  }
}

Expect semantically chunked Markdown in text_sections. With the model pair configured, generated descriptions are inlined into content for applicable figures. Image extraction and location metadata remain controlled by extractionOptions. Actual chunks and descriptions vary with the source and model.

Vectorize Content Understanding chunks

For vector search, add the following Azure OpenAI Embedding skill to the same skillset's skills array. It processes each Content Understanding chunk after semantic chunking and image verbalization. The text input includes generated image descriptions in the chunk's Markdown.

Set resourceUri to your Foundry resource endpoint and deploymentId to your deployment of text-embedding-3-large. Configure the embedding skill's permissions separately from the Content Understanding resource attachment.

{
  "@odata.type": "#Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill",
  "context": "/document/text_sections/*",
  "resourceUri": "https://<embedding-resource>.services.ai.azure.com",
  "deploymentId": "<embedding-deployment>",
  "modelName": "text-embedding-3-large",
  "dimensions": 3072,
  "inputs": [
    {"name": "text", "source": "/document/text_sections/*/content"}
  ],
  "outputs": [
    {"name": "embedding", "targetName": "text_vector"}
  ]
}

Project /document/text_sections/*/text_vector into your chunk index's vector field using index projections. Set the field's dimensions to 3072 for this example and use a compatible query-time vectorizer.