1---
2name: azure-face
3description: Expert knowledge for Azure AI Face development including troubleshooting, best practices, decision making, limits & quotas, security, and integrations & coding patterns. Use when using Face detection, identification, verification, liveness, PersonGroup/Directory, or Face API quotas, and other Azure AI Face related development tasks. Not for Azure AI Vision (use azure-ai-vision), Azure AI Custom Vision (use azure-custom-vision), Azure AI Video Indexer (use azure-video-indexer), Azure AI Document Intelligence (use azure-document-intelligence).
4compatibility: Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.
5metadata:
6 generated_at: "2026-08-09"
7 generator: "docs2skills/1.0.0"
8---
9
10# Azure AI Face Skill
11
12This skill provides expert guidance for Azure AI Face. Covers troubleshooting, best practices, decision making, limits & quotas, security, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities.
13
14## How to Use This Skill
15
16> **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file
17
18> **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)
19
20This skill requires **network access** to fetch documentation content:
21- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.
22- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.
23
24## Category Index
25
26| Category | Lines | Description |
27|----------|-------|-------------|
28| Troubleshooting | L34-L38 | Diagnosing and fixing Azure Face API failures by interpreting error codes, understanding causes (quota, auth, input issues), and applying recommended resolutions. |
29| Best Practices | L39-L47 | Guidance on enrolling faces, scaling PersonGroup/PersonDirectory, optimizing performance/latency, and building consent-aware, high-capacity Azure Face enrollment workflows. |
30| Decision Making | L48-L53 | Guidance on choosing, configuring, and tuning Azure Face detection and recognition models, including model types, capabilities, parameters, and selection trade-offs. |
31| Limits & Quotas | L54-L59 | Scaling PersonGroup for large face datasets and understanding Face API quotas, rate limits, and maximum sizes for persons, faces, and training operations. |
32| Security | L60-L69 | Security and compliance for Face and liveness: abuse monitoring, token-based access control, network isolation, encryption/CMK, shared responsibility, and secure SDK version management. |
33| Integrations & Coding Patterns | L70-L73 | How to call Azure Face API endpoints, use key operations (detect, identify, verify, find similar), and structure requests/responses in your applications. |
34
35### Troubleshooting
36| Topic | URL |
37|-------|-----|
38| Resolve Azure Face API errors using error codes | https://learn.microsoft.com/en-us/azure/ai-services/face/reference-face-error-codes |
39
40### Best Practices
41| Topic | URL |
42|-------|-----|
43| Apply best practices for Azure Face enrollment | https://learn.microsoft.com/en-us/azure/ai-services/face/enrollment-overview |
44| Add many faces to PersonGroup efficiently | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/add-faces |
45| Optimize Azure Face performance and reduce latency | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/mitigate-latency |
46| Use PersonDirectory for high-capacity face storage | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/use-persondirectory |
47| Implement consent-focused Face enrollment app | https://learn.microsoft.com/en-us/azure/ai-services/face/tutorials/build-enrollment-app |
48
49### Decision Making
50| Topic | URL |
51|-------|-----|
52| Choose and specify Azure Face detection models | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/specify-detection-model |
53| Select and configure Azure Face recognition models | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/specify-recognition-model |
54
55### Limits & Quotas
56| Topic | URL |
57|-------|-----|
58| Scale PersonGroup objects to large Face datasets | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/use-large-scale |
59| Review Azure Face service quotas and limits | https://learn.microsoft.com/en-us/azure/ai-services/face/identity-quotas-limits |
60
61### Security
62| Topic | URL |
63|-------|-----|
64| Configure abuse monitoring for Face liveness detection | https://learn.microsoft.com/en-us/azure/ai-services/face/concept-liveness-abuse-monitoring |
65| Manage Face API access with limited tokens | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/identity-access-token |
66| Use Face liveness detection with network isolation | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/liveness-use-network-isolation |
67| Configure encryption and CMK for Azure Face data | https://learn.microsoft.com/en-us/azure/ai-services/face/identity-encrypt-data-at-rest |
68| Secure Face liveness solutions with shared responsibility | https://learn.microsoft.com/en-us/azure/ai-services/face/liveness-detection-shared-responsibility |
69| Manage liveness client SDK versions for security | https://learn.microsoft.com/en-us/azure/ai-services/face/sdk/understand-the-liveness-sdk-versions |
70
71### Integrations & Coding Patterns
72| Topic | URL |
73|-------|-----|
74| Use Azure Face API endpoints and operations | https://learn.microsoft.com/en-us/azure/ai-services/face/identity-api-reference |