Microsoft Foundry—formerly called Azure AI Foundry—is Azure's platform for building, evaluating, observing, governing, and operating AI applications and agents across a model catalog. Azure OpenAI provides managed access to supported OpenAI models within Azure's identity, networking, quota, safety, and billing environment. Names and portal screens continue to evolve.
Lab: 45–60 minutes · Cost: model input/output, hosted capacity, evaluations, search, storage, networking, and logs can charge · Prerequisite: subscription/model access, regional availability, quota, and role assignments.
The current public product is Microsoft Foundry. Older tutorials, resource providers, URLs, SDK packages, APIs, and resource names may still contain azure, ai, or the former Azure AI Foundry name. Follow the current Microsoft Learn page for the chosen API and do not rename working resource types based only on marketing text.

Portal names differ between new and classic experiences. Microsoft Learn provides tabs for Foundry portal, SDK, and CLI where supported.
Evaluate models against a versioned dataset and business metric. Consider quality, latency, input/output price, context length, tool use, structured output, language, modality, data policy, region, quota, rate limits, and lifecycle. A larger model is not automatically better for routing, classification, extraction, or simple grounded answers.
Use a deployment name such as chat-primary rather than the model version in application code. That abstraction lets operators change the underlying approved model after evaluation.
Prefer Entra ID with managed identity. Give the workload the narrow Foundry/Azure AI data role it needs. Use API keys only where identity is unsupported; store them in Key Vault, rotate them, and never put them in frontend code.
Use the deployment name—not a raw model version—in every method. Keep the prompt non-sensitive, cap output, and record tokens, latency, filter result, and cost.
Ways to build
Choose the Azure tool you want to use. The underlying resource stays the same.
Open the project → Models + endpoints, select the approved deployment, and open its playground. Set the same system instruction and a harmless test input, lower the maximum output for the test, run it, then inspect the deployment details, content-safety result, and monitoring view. Do not paste production data into a development playground.
Quota limits allocated capacity; per-deployment limits and dynamic throttling can still apply. Models and deployment types vary by region. Request only justified quota, distribute deployments intentionally, and implement bounded retries that respect Retry-After. Limit concurrency so a retry storm does not worsen throttling.
Capacity planning uses measured tokens per request × requests per second, output variability, tool calls, and peak concurrency. Control maximum output tokens and route simple tasks to smaller models.
A content filter is not a complete application safety system. It cannot know your authorization rules or business consequences.
Use current Microsoft Foundry CLI/SDK guidance for projects and deployments. Resource APIs are evolving. Bicep/AzAPI can create supported resource types, deployments, identities, private endpoints, DNS, role assignments, and diagnostics. Terraform provider support may lag new features; use azapi only with an owned testing strategy.
Never emit API keys as deployment outputs. Treat model deployment changes like application releases: evaluate, canary, observe, and roll back.
Run a small prompt, record deployment name/model/version, latency, input/output tokens, safety result, and cost estimate. Delete the model deployment and project resources after the lab. Check for retained search, storage, hub/resource, private endpoints, and logs.