Lesson 1 of 3 Microsoft Foundry Platform and Model Selection

Understanding the Microsoft Foundry Platform Architecture

This lesson explains how the resources and services of Microsoft Foundry, Azure's platform for building AI applications and agents, fit together, which makes it easier to design solutions, assign permissions and locate settings.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain what Microsoft Foundry provides for building AI applications and agents.
  • Describe what a Foundry resource and its projects own.
  • Identify the roles of the platform services that build on the resource and project.
  • Distinguish models sold directly by Azure from partner and community models.
  • Decide how to separate teams with projects while sharing capacity.

What Microsoft Foundry is

An AI application needs more than a model. It needs a place to choose and deploy models, a way to give them the organization's knowledge, tools that let them act, safety controls, a way to measure whether answers are good, and monitoring once the application is live. Microsoft Foundry, previously named Azure AI Foundry and before that Azure AI Studio, brings these capabilities together in one Azure platform with one portal, one SDK and one security model.

A developer's work with Foundry follows a recognizable path, and the modules of this course follow it too. The developer creates a Foundry resource and a project, deploys one or more models, and connects an application to the project with the Foundry SDK and Microsoft Entra ID. The application then calls models through the Responses API, grounds them in the organization's content with Azure AI Search, or builds agents that use tools. Guardrails filter harmful content and attacks, evaluations measure quality and safety before release, and tracing and monitoring show how the solution behaves in production.

Foundry is organized in two levels: a resource that holds what is shared, and projects that hold the work of individual applications or teams. Understanding what belongs at each level is the foundation for nearly every later decision about permissions, networking, quota and cost, so this lesson begins there.

Resources and projects

A Foundry resource is an Azure resource of type Microsoft.CognitiveServices/accounts with kind AIServices. It has an endpoint on a custom subdomain.

The following screenshot shows the overview of a Foundry resource in the Azure portal. Its API Kind is AIServices, and the Resource Management menu lists the resource's projects, keys and endpoint, encryption and networking.

Overview of a Foundry resource in the Azure portal, with API Kind AIServices
A Foundry resource in the Azure portal. The resource is of kind AIServices.

The resource is where shared capacity and security settings are configured. The following list shows what belongs to the resource.

  • Model deployments and their quota.
  • Foundry Tools (Content Understanding, Language, Speech, Translator, Vision, Document Intelligence and Content Safety), which are reached through the same endpoint and identity as the models.
  • Networking: public network access and private endpoints.
  • Encryption: Microsoft-managed or customer-managed keys.
  • Local authentication: whether API keys are allowed.

These settings are chosen when the resource is created. The following screenshot shows the Inbound Networking and Encryption tabs of the Create a Foundry resource page. Inbound access can be open to all networks, limited to selected networks, or disabled so that only private endpoints reach the resource, and encryption uses Microsoft-managed keys unless a customer-managed key is selected.

Inbound Networking and Encryption tabs of the Create a Foundry resource page
Networking and encryption are settings of the resource, so every project in it shares them.

A project is a child resource (accounts/projects) that provides a workspace for one application or team. Access can be granted per project, so each team can be limited to its own work.

Creating a resource in the Azure portal also creates its first project, and further projects are added from the resource's Projects page. The person who creates a project is granted the Foundry User role on it. Other developers need Foundry User on the project, and people who manage its settings need Foundry Project Manager. The New project pane may still show its earlier name, Azure AI Project Manager.

The following screenshot shows the New project pane, which states these role assignments.

New project pane on the Projects page of a Foundry resource, describing the Foundry User and Azure AI Project Manager roles
Adding a project to an existing Foundry resource in the Azure portal.

A project holds the items that belong to one application: agents, conversations, files, evaluations, datasets, indexes and connections to other resources. Model deployments are not among them, because all projects in a resource share the resource's deployments.

The Foundry SDK connects to the project endpoint, https://<resource>.services.ai.azure.com/api/projects/<project>.

The project's home page in the Foundry portal shows this endpoint, as the following screenshot shows. The navigation on the left lists the platform services that the next section describes, such as Agents, Models, Tools, Knowledge, Guardrails, Monitor and Evaluations.

Project home page in the Foundry portal showing the project endpoint
The project endpoint ends in services.ai.azure.com. The API key is hidden in this screenshot; keyless authentication with Microsoft Entra ID is preferred.

The following diagram shows what belongs to the resource and what belongs to each project.

A Foundry resource holds the endpoint, the model deployments and their quota, the Foundry Tools and the network, key and authentication settings. Each project inside it holds agents, conversations, files, evaluations, indexes and connections, has its own endpoint and access, and shares the resource's deployments.
Deployments, quota, Foundry Tools and network settings sit on the resource, so every project shares them. Agents, conversations, files, evaluations, indexes and connections sit in a project, which has its own endpoint and access.

Platform services

Several services build on the resource and project. Each one answers a different design question, which the following subsections describe.

Foundry Models: which model to use

Foundry Models is the catalogue from which models are chosen and the place where they are deployed. Every other service calls a deployment that Foundry Models creates.

Foundry Agent Service: how an agent runs

Foundry Agent Service stores versioned agent definitions and their conversations. It also runs the tools that an agent calls and executes multi-agent workflows. The application therefore does not have to manage that state itself.

Foundry IQ: how an agent finds knowledge

Foundry IQ provides knowledge bases that use Azure AI Search agentic retrieval. An agent can search several knowledge sources through one tool.

Foundry Tools: tasks that do not need a general model

Foundry Tools are the prebuilt AI services for specific tasks, such as reading documents, transcribing speech or detecting personal data.

Guardrails and evaluations: whether the solution is safe and good enough

Guardrails filter harmful content and prompt attacks at run time. Evaluations measure quality and safety before and after release.

Observability and Control Plane: what is happening in production

The Observability and Control Plane records a trace of each run. It also provides governance across many agents.

Summary of the platform services

The following table summarizes these roles and the modules of this course that cover each service in detail.

ServiceRoleCovered in
Foundry ModelsCatalogue and deployments of models sold by Azure and by partnersThis module; Foundry Infrastructure and Deployments
Foundry Agent ServiceHosts versioned agents, conversations, tools and workflowsBuilding Agents with Foundry Agent Service
Foundry IQKnowledge bases for agents built on Azure AI Search agentic retrievalRetrieval and Grounding Pipelines with Azure AI Search
Foundry ToolsPrebuilt AI services for vision, language, speech, translation, documents and safetyDomains 3 to 5 modules
Guardrails and evaluationsSafety controls, quality and safety evaluators, red teamingResponsible AI Guardrails and Governance; Evaluating Generative AI Applications
Observability and Control PlaneTracing, monitoring and fleet-wide governance of agentsQuotas, Cost and Monitoring for AI Workloads

Azure services outside Foundry

Most solutions also use Azure services outside Foundry. The following list shows the most common ones and the role each one plays.

  • Azure AI Search: retrieval.
  • Azure Storage: documents and media.
  • Azure Cosmos DB: agent state in the standard setup.
  • Application Insights and Log Analytics: monitoring.
  • Azure API Management: an AI gateway in front of model endpoints.
  • Azure Key Vault: any secrets that cannot be eliminated.
Match the pairs

Foundry platform services

Exam skills 1.1.2

Match each Foundry service with the design question it answers.

Log in to try this activity Interactive activities are free with an account.

Models sold by Azure and partner models

The Foundry Models catalogue contains two groups of models. Models sold directly by Azure, such as Azure OpenAI GPT models, Phi, Mistral, DeepSeek, Grok and Llama variants, are hosted, billed and supported by Microsoft under Microsoft's product terms. They are also covered by Foundry guardrails.

Models from partners and the community are offered through the same catalogue under the provider's terms. They are deployed as serverless pay-per-token endpoints or on managed compute.

In the Foundry portal catalog, the models sold directly by Azure form the Direct from Azure collection, which can be used as a filter. The following screenshot shows the catalog filtered to this collection.

Foundry model catalog filtered to the Direct from Azure collection
The Collections filter separates Direct from Azure models from partner and community collections such as Hugging Face.

Choosing between the two groups

The distinction matters when a scenario names a support, compliance or safety requirement. A model sold directly by Azure is covered by Microsoft's support, its data handling commitments and Foundry guardrails. An organization that must keep a single vendor relationship, or that requires Microsoft's content filtering on every request, should therefore choose from that group.

A partner or community model may offer a capability the organization needs, such as a specialized domain or open weights that it can fine-tune. In return, the organization must review the provider's licence and terms, and it may need to add its own safety controls.

Model cards and lifecycle planning

Each model in the catalogue has a model card. The card shows the model's capabilities, context length, supported deployment types, regions, benchmarks and retirement date.

The following screenshot shows a model card. The Quick facts panel gives the publisher, lifecycle stage, input and output types, context window and token limits, and the tabs lead to the model's deployments, benchmarks, responsible AI information and licence.

Model card of a model sold directly by Azure in the Foundry portal
A model card for a Direct from Azure model.

Every model version has a retirement date, after which its deployments stop working. Production applications therefore reference a deployment name rather than a model directly, and they are tested against the replacement model before the date.

The card's supported regions and deployment types should be checked early. This check avoids choosing a model that cannot be deployed where the data must stay.

The card's View availability button lists each region and the deployment types available in it, as the following screenshot shows.

Model availability table listing regions and the Global Standard, Data Zone Standard and Data Zone Provisioned Throughput deployment types
A model can be available as Global Standard in a region but not as a Data Zone or provisioned deployment there.
True or false

Resources and model sources

Exam skills 1.1.1 · 1.1.2

Check four facts about the Foundry resource and the two groups of catalogue models.

Log in to try this activity Interactive activities are free with an account.
Worked example

Separating teams

A retailer has three teams building a customer chatbot, a product description generator and an internal HR agent. They should share the company's GPT model capacity but must not see each other's agents, files or evaluation results.

One Foundry resource with three projects meets this requirement. The model deployments and quota live in the resource, so all three teams share them. Agents, files, evaluations and connections live in each project.

The following screenshot shows this structure in the Azure portal: one Foundry resource with a project for each team.

Projects page of one Foundry resource listing the customer-chatbot, product-descriptions and hr-agent projects
Three projects in one resource share its model deployments and quota.

Each team is granted the Foundry User role only on its own project. A team can therefore use the shared deployments without seeing the other teams' work.

Three separate resources would also isolate the teams, and they would isolate quota as well. However, they would duplicate deployments and networking, which the scenario does not require.

Check yourself

Which settings belong to the Foundry resource, and which belong to a project?

Show answer

Deployments, quota, networking and encryption are set on the Foundry resource. Agents, files, evaluations and connections belong to a project.

Exam Tips

Remember for the exam

  • Deployments, quota, networking and encryption: Foundry resource. Agents, files, evaluations, connections: project.
  • The SDK connects to the project endpoint on services.ai.azure.com.
  • Models sold directly by Azure are billed and supported by Microsoft and covered by guardrails.