Dev & Engineering ✓ Microsoft · Official document-intelligencedotnetpdf-extractionocrinvoice-processingreceipt-extractionazure-sdk

Azure Document Intelligence for .NET

Guides .NET developers in extracting structured data from invoices, receipts, IDs, and forms.

FollowSkills review · FSRS-2.0
Not recommended
45/ 100 5-point scale 2.3 / 5
1 2 3 4 5 6
1Trust12 / 25 · 2.4/5

The skill names endpoint, API-key, Entra credential, and Blob SAS configuration and recommends DefaultAzureCredential in production, providing basic data-flow transparency. However, it enables API keys and SAS directly without guidance on sensitive-document handling, key rotation, least-privilege RBAC, external read/upload effects, confirmation before model deletion, or rollback, so points are deducted.

2Reliability6 / 20 · 1.5/5

Installation, authentication, analysis, classification, training, model management, and basic exception handling are documented, making the happy path plausible. Static evidence lacks skill-specific tests and executable verification, and does not address missing environment variables, invalid URIs, authorization failures, long-running-operation failures, missing fields, or version compatibility; model deletion also lacks safeguards.

3Adaptability9 / 15 · 3.0/5

The description, trigger phrases, main scenarios, and .NET package scope are reasonably clear, covering invoices, receipts, IDs, forms, and custom models. It does not define non-fit cases, input limits, output contracts, regional/service availability, Chinese-language support, or mainland-China reachability, so points are deducted.

4Convention9 / 15 · 3.0/5

The file has standard SKILL.md metadata, MIT licensing, a version, installation notes, layered sections, examples, best practices, error handling, related SDK guidance, and reference links. It lacks a changelog, explicit maintenance responsibility, known limitations, troubleshooting, a compatibility matrix, and update guidance, so it is not full marks.

5Effectiveness6 / 15 · 2.0/5

The C# snippets are directly adaptable and cover text/table extraction, prebuilt models, custom models, classification, and model management, addressing the core SDK task. But they depend on external document URIs, lack a complete runnable project and input validation, omit sensitive-data governance, pagination, retries, and result persistence, and have no skill-specific output verification evidence, warranting a conservative static score.

6Verifiability3 / 10 · 1.5/5

NuGet, API documentation, samples, and model-reference links provide some traceability. The supplied material contains no committed tests, CI coverage, or third-party execution results for this skill; the repository test evidence is a generic harness rather than coverage of this skill's key paths, so a higher score is not supported.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Do not hard-code or log API keys, SAS URLs, or sensitive documents such as IDs and invoices; use least-privilege credentials, rotation, and secure storage.
  • Add explicit user confirmation, authorization checks, and a recoverable backup or alternative before calling DeleteModelAsync.
  • Before adopting the snippets, verify API signatures, field types, regional endpoint requirements, and service quotas against the pinned Azure.AI.DocumentIntelligence version, and add input validation and failure retries.
  • The skill does not address mainland-China reachability or Chinese-language resources; validate service endpoints, authentication paths, and document-data compliance before deployment.
See the full review method →

What does this skill do, and when should you use it?

This skill provides practical guidance for the Azure.AI.DocumentIntelligence .NET SDK. It covers prebuilt and custom models for extracting text, tables, fields, layout structure, and document classifications. The material includes Microsoft Entra authentication, API-key authentication, long-running operations, and custom model and classifier management. It fits teams already using Azure Document Intelligence and wanting coding agents to produce relevant .NET implementations.

It shows how to install Azure.AI.DocumentIntelligence and Azure.Identity, configure the Document Intelligence endpoint, API key, Blob container SAS URL, and Azure credential environment variables. Examples use DocumentIntelligenceClient to analyze invoices, receipts, identity documents, and general layouts, reading text, lines, words, tables, and fields. They also use DocumentIntelligenceAdministrationClient to build, retrieve, list, and delete custom models and document classifiers. The sample code calls Azure services and produces AnalyzeResult objects, model details, classification results, and confidence values.

  1. A finance team processes incoming invoices and extracts vendor names, line items, and totals.
  2. A retail or expense-management application parses merchant names, amounts, and transaction dates from receipts.
  3. An identity-verification workflow extracts names, dates of birth, and addresses from identity documents.
  4. A document-processing service extracts page text, tables, selection marks, and layout structure from PDFs or forms.
  5. An enterprise with fixed or variable document layouts builds and manages custom models and classifiers.

What are this skill's strengths and limitations?

Pros
  • Covers concrete workflows for invoices, receipts, identity documents, layout analysis, custom models, and classifiers.
  • Provides examples for both API-key and Microsoft Entra authentication.
  • Includes client types, prebuilt models, key types, build modes, and error handling.
  • Explicitly recommends reusing thread-safe clients and checking field confidence.
Limitations
  • Focused on the Azure.AI.DocumentIntelligence .NET SDK, so it is not suited to non-.NET or non-Azure document-analysis projects.
  • Requires an available Azure Document Intelligence endpoint; custom model training also requires a Blob container SAS URL.
  • The source does not provide service pricing, quota details, performance benchmarks, or independent testing for specific agent platforms.
  • The examples primarily use remote document URIs and do not show local-file input.

How do you install this skill?

Install the Agent Skills collection with:

npx skills add microsoft/skills

Choose the required skill in the wizard. This skill is located at .github/plugins/azure-sdk-dotnet/skills/azure-ai-document-intelligence-dotnet/SKILL.md. Install the SDK packages with:

dotnet add package Azure.AI.DocumentIntelligence
dotnet add package Azure.Identity

The source does not document separate activation or configuration steps for a specific coding-agent client.

How do you use this skill?

Ask the coding agent for a task containing one of the documented triggers, for example: "Implement invoice extraction in a .NET app with DocumentIntelligenceClient and check field confidence." You can also request receipt OCR, document-layout extraction, custom document models, or document classifiers. Configure DOCUMENT_INTELLIGENCE_ENDPOINT; API-key authentication additionally requires DOCUMENT_INTELLIGENCE_API_KEY, and production use of DefaultAzureCredential requires AZURE_TOKEN_CREDENTIALS=prod. Microsoft Entra authentication requires a custom-subdomain endpoint rather than a regional endpoint.

How does this skill compare with similar options?

The source explicitly identifies Azure.AI.FormRecognizer as a deprecated legacy SDK and recommends DocumentIntelligence for new projects.

FAQ

Does the skill document Azure service pricing?
No. The source covers the SDK, authentication, and workflows but provides no pricing information.
What is the key restriction for Microsoft Entra authentication?
Use a custom-subdomain endpoint such as https://<resource-name>.cognitiveservices.azure.com/ rather than a regional endpoint.
What extra configuration is needed to train a custom model?
Provide a Blob container SAS URL and use DocumentIntelligenceAdministrationClient to build the model or classifier.
How should analysis failures be handled?
The example catches RequestFailedException and reports the HTTP status and message; no comprehensive retry strategy is documented.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for Java

Gives Java developers practical patterns for extracting and classifying data with Azure Document Intelligence.

Dev & Engineering ✓ Microsoft · Official

Azure Document Intelligence for TypeScript

Extract document text, tables, and structured fields in TypeScript applications.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for .NET

Provision and govern Azure API Management resources from .NET.

Dev & Engineering ✓ Microsoft · Official

Azure Redis Management for .NET

Helps .NET developers provision and operate Azure Cache for Redis through Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Content Understanding for Python

Extract structured multimodal content from documents, images, audio, and video with Python.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Event Grid for .NET

Practical .NET guidance for publishing, receiving, and processing Azure Event Grid events.

Dev & Engineering ✓ Microsoft · Official

Fabric Capacity Manager for .NET

Manage Microsoft Fabric capacities programmatically through Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis for Java

A practical Java SDK guide for captions, OCR, object detection, tagging, and smart image cropping.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs for Rust

A practical guide to sending, batching, and consuming Azure Event Hubs data with the official Rust SDK.

Dev & Engineering ✓ Microsoft · Official

Arize AI Azure Management for .NET

Guides .NET developers through Azure-based management of Arize AI observability resources.

Dev & Engineering ✓ Microsoft · Official

Azure Durable Task ARM for .NET

Guides .NET developers through code-based provisioning and management of Durable Task Scheduler resources.

Dev & Engineering ✓ Microsoft · Official

MCP Server Development Guide

A practical guide to building clear, testable MCP servers that let LLMs work with external APIs.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Rust

A practical guide to building Rust applications with the official Azure Cosmos DB NoSQL client.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Rust

Guides Rust developers through official Azure SDK patterns for managing blobs and containers.

Dev & Engineering ✓ Microsoft · Official

Microsoft Docs Researcher

Ground coding agents in official Microsoft documentation for concepts, tutorials, configuration, limits, and best practices.

Related skills