Dev & Engineering ✓ Microsoft · Official azure-ai-searchdotnetcsharpfull-text-searchvector-searchsemantic-searchhybrid-search

Azure AI Search for .NET

Build .NET search applications with practical Azure AI Search patterns for full-text, vector, semantic, and hybrid retrieval.

FollowSkills review · FSRS-2.0
Not recommended
51/ 100 5-point scale 2.6 / 5
Trust15 / 25 · 3.0/5

The documentation offers Entra credentials and API-key authentication, recommends DefaultAzureCredential for production, and is covered by an MIT license with a security-reporting path in the repository. Points are deducted because least-privilege RBAC, confirmation requirements, secret management, rollback for deletes/index changes, and complete data-flow disclosure are not specified.

Reliability7 / 20 · 1.8/5

Installation, authentication, index management, CRUD, basic/vector/semantic/hybrid search, and error handling are covered with broadly consistent paths. Points are deducted because this is an unexecuted static review; version compatibility, null environment variables, service capabilities/quotas, and several API details lack diagnosable guidance, so the static ceiling of 10 applies.

Adaptability9 / 15 · 3.0/5

Triggers, SDK target, client selection, and major search scenarios are clearly described. Points are deducted because non-fit cases, input/output contracts, service-tier/region constraints, Chinese-language behavior, and mainland-China network reachability are not established; boundaries for full deployment and index operations are underspecified.

Convention9 / 15 · 3.0/5

The material is layered across installation, authentication, client selection, operation patterns, best practices, and reference files, and includes MIT licensing, author, and 1.0.0 metadata. Points are deducted for no explicit changelog, maintenance owner or update path, undated/unsourced current-version claims, and limited FAQ, troubleshooting, and dependency-compatibility guidance.

Effectiveness7 / 15 · 2.3/5

The examples directly address common Azure.Search.Documents .NET tasks and include reusable C# patterns plus basic error handling, supporting the core task statically. Points are deducted because there is no complete runnable project, embedding implementation, full index prerequisite setup, or service permission/cost guidance; adaptation remains necessary, and the static ceiling of 7 applies.

Verifiability4 / 10 · 2.0/5

The skill contains concrete APIs, package versions, code samples, and linked reference files; repository-level CI/evaluation infrastructure also exists. Points are deducted because the supplied material contains no skill-specific committed tests or third-party execution evidence, repository-wide harnesses do not validate this path's key examples, and claim-level sourcing and fact/inference separation are thin; the static ceiling of 5 applies.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Do not treat the snippets as verified runnable code; compile and test key paths against the pinned Azure.Search.Documents version.
  • Use least-privilege RBAC and secure secret storage in production, with explicit confirmation, backup, and recovery before deletes or index changes.
  • Separately verify the target Azure region, service tier, semantic/vector feature availability, Chinese retrieval quality, and mainland-China network reachability.
See the full review method →

What it does & when to use it

This skill supports .NET developers building search applications with the Azure.Search.Documents SDK. It covers SearchClient, SearchIndexClient, and SearchIndexerClient, from index management and document operations to full-text, vector, semantic, and hybrid search. It also demonstrates Microsoft Entra credential and API-key authentication, field modeling, autocomplete, suggestions, facets, and error handling. It fits teams that already have an Azure AI Search service and need implementation guidance in C#; it does not document Azure resource provisioning or full application deployment.

Provides installation commands for Azure.Search.Documents and Azure.Identity and identifies the required endpoint, index, and authentication variables; shows how to create SearchClient, SearchIndexClient, and SearchIndexerClient instances; defines and updates index fields, vector profiles, and semantic settings; uploads, merges, deletes, and batches documents; builds queries with filters, ordering, pagination, field selection, and facets; implements autocomplete, suggestions, pure vector search, semantic search, and keyword-plus-vector hybrid search; and handles RequestFailedException, including a dedicated 404 path for missing indexes.

  1. A C# developer building a hotel, product, or content catalog that needs full-text search, filtering, sorting, and faceted navigation.
  2. A .NET team with text embeddings that needs nearest-neighbor vector retrieval in Azure AI Search.
  3. An application team combining keyword search, vector retrieval, and semantic ranking for natural-language queries.
  4. An Azure developer managing index fields, synonym maps, or vector configuration through SearchIndexClient.
  5. A .NET engineer managing data sources, indexers, and skillsets through SearchIndexerClient.

Pros & cons

Pros
  • Covers the main SDK workflow from index creation through querying and document maintenance.
  • Includes full-text, vector, semantic, and hybrid search examples.
  • Shows both DefaultAzureCredential and AzureKeyCredential authentication.
  • Includes FieldBuilder, batch operations, facets, autocomplete, suggestions, and common error handling.
Limitations
  • Focused specifically on Azure.Search.Documents for .NET and C#.
  • Does not provide Azure AI Search resource provisioning, network configuration, or application deployment guidance.
  • The detailed vector-search and semantic-search reference files are mentioned but not included in the supplied material.
  • The supplied material does not define compatibility across specific coding-agent versions or runtime environments.

How to install

For a project, run:

dotnet add package Azure.Search.Documents
dotnet add package Azure.Identity

To install the broader Agent Skills collection, run:

npx skills add microsoft/skills

Then select the skills needed for your agent. This skill is located at .github/plugins/azure-sdk-dotnet/skills/azure-search-documents-dotnet/SKILL.md.

How to use

Place the skill directory in the skills directory used by an Agent Skills-compatible coding agent, then use a prompt such as: "Use Azure.Search.Documents to implement hybrid search for my C# hotel catalog, including index definition, batched document upload, and semantic configuration." Provide SEARCH_ENDPOINT and SEARCH_INDEX_NAME. When using DefaultAzureCredential, configure AZURE_TOKEN_CREDENTIALS as described; for API-key authentication, configure SEARCH_API_KEY. Azure resource creation and deployment steps are not documented in the supplied skill.

FAQ

Do I need an API key to use this skill?
Not necessarily. It primarily demonstrates Microsoft Entra token credentials and also supports AzureKeyCredential API-key authentication.
Does this skill create the Azure AI Search service?
That cannot be established from the supplied content. It covers client, index, document, and query code, but not Azure resource provisioning or deployment.
How does it handle search failures?
The examples catch RequestFailedException, handle a missing index with a separate 404 case, and report the status, error code, and message.
Will using it incur Azure service charges?
The supplied material does not discuss pricing. The repository content is MIT-licensed, while charges for calling Azure AI Search are not covered.

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