1---2name: azure-face3description: 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).4---5# Azure AI Face Skill
6
7This 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.
8
9## How to Use This Skill
10
11> **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
12
13> **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)
14
15This skill requires **network access** to fetch documentation content:
16- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.
17- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.
18
19## Category Index
20
21| Category | Lines | Description |
22|----------|-------|-------------|
23| Troubleshooting | L34-L38 | Diagnosing and fixing Azure Face API failures by interpreting error codes, understanding causes (quota, auth, input issues), and applying recommended resolutions. |
24| Best Practices | L39-L47 | Guidance on enrolling faces, scaling PersonGroup/PersonDirectory, optimizing performance/latency, and building consent-aware, high-capacity Azure Face enrollment workflows. |
25| 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. |
26| 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. |
27| 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. |
28| 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. |
29
30### Troubleshooting
31| Topic | URL |
32|-------|-----|
33| Resolve Azure Face API errors using error codes | https://learn.microsoft.com/en-us/azure/ai-services/face/reference-face-error-codes |
34
35### Best Practices
36| Topic | URL |
37|-------|-----|
38| Apply best practices for Azure Face enrollment | https://learn.microsoft.com/en-us/azure/ai-services/face/enrollment-overview |
39| Add many faces to PersonGroup efficiently | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/add-faces |
40| Optimize Azure Face performance and reduce latency | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/mitigate-latency |
41| Use PersonDirectory for high-capacity face storage | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/use-persondirectory |
42| Implement consent-focused Face enrollment app | https://learn.microsoft.com/en-us/azure/ai-services/face/tutorials/build-enrollment-app |
43
44### Decision Making
45| Topic | URL |
46|-------|-----|
47| Choose and specify Azure Face detection models | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/specify-detection-model |
48| Select and configure Azure Face recognition models | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/specify-recognition-model |
49
50### Limits & Quotas
51| Topic | URL |
52|-------|-----|
53| Scale PersonGroup objects to large Face datasets | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/use-large-scale |
54| Review Azure Face service quotas and limits | https://learn.microsoft.com/en-us/azure/ai-services/face/identity-quotas-limits |
55
56### Security
57| Topic | URL |
58|-------|-----|
59| Configure abuse monitoring for Face liveness detection | https://learn.microsoft.com/en-us/azure/ai-services/face/concept-liveness-abuse-monitoring |
60| Manage Face API access with limited tokens | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/identity-access-token |
61| Use Face liveness detection with network isolation | https://learn.microsoft.com/en-us/azure/ai-services/face/how-to/liveness-use-network-isolation |
62| Configure encryption and CMK for Azure Face data | https://learn.microsoft.com/en-us/azure/ai-services/face/identity-encrypt-data-at-rest |
63| Secure Face liveness solutions with shared responsibility | https://learn.microsoft.com/en-us/azure/ai-services/face/liveness-detection-shared-responsibility |
64| Manage liveness client SDK versions for security | https://learn.microsoft.com/en-us/azure/ai-services/face/sdk/understand-the-liveness-sdk-versions |
65
66### Integrations & Coding Patterns
67| Topic | URL |
68|-------|-----|
69| Use Azure Face API endpoints and operations | https://learn.microsoft.com/en-us/azure/ai-services/face/identity-api-reference |