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
Use with care
51/ 100 5-point scale 2.6 / 5
1 2 3 4 5 6
1Trust15 / 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.

2Reliability7 / 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.

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

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

5Effectiveness7 / 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.

6Verifiability4 / 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 does this skill do, and when should you 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.

What are this skill's strengths and limitations?

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 do you install this skill?

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 do you use this skill?

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 AI Search for Python

Helps Python developers build vector, hybrid, and semantic search applications with Azure AI Search.

Dev & Engineering ✓ Microsoft · Official

Azure AI Search for TypeScript

Build TypeScript search apps with vector, hybrid, and semantic retrieval patterns.

Dev & Engineering ✓ Microsoft · Official

Azure AI Services Skill

Guides coding agents through Azure AI Search, Speech, OpenAI, and OCR workflows.

Dev & Engineering ✓ Microsoft · Official

Azure Persistent Agents for .NET

A practical .NET playbook for building and operating Azure AI persistent agents.

Dev & Engineering ✓ Microsoft · Official

Azure AI Foundry Projects for .NET

Guides .NET developers through Foundry project, agent, and evaluation operations.

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

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

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

Microsoft Docs Researcher

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

Dev & Engineering ✓ Microsoft · Official

MongoDB Atlas Azure ARM Manager

Helps .NET developers manage MongoDB Atlas organizations through Azure Marketplace and Azure ARM.

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 API Center for .NET

Manage Azure API inventories, governance, versions, and deployments with .NET.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for .NET

Provision and govern Azure API Management resources from .NET.

Dev & Engineering ✓ Microsoft · Official

Azure Bot Service ARM SDK for .NET

Helps .NET developers provision Azure Bots and configure their channels through ARM.

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 OpenAI for .NET

Gives coding agents practical .NET patterns for Azure OpenAI integrations.

Related skills