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
Trust12 / 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.

Reliability6 / 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.

Adaptability9 / 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.

Convention9 / 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.

Effectiveness6 / 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.

Verifiability3 / 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 it does & when to 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.

Pros & cons

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 to install

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 to use

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.

Compared to similar skills

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 Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

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

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

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

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 Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

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 Playwright Workspace Manager

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

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills