Explain it simpler
To use an Azure AI service, you first create a 'resource' in Azure. A resource is like an account for that service: it gives you a web address to send requests to, secret keys to prove who you are, and a bill. A single-service resource is an account for just one service, such as translation. A multi-service resource is one account that unlocks many services with one address, one set of keys and one bill. For building chatbots and AI agents, Microsoft has a workshop called Azure AI Foundry. Inside it, a project is a team's own workspace. A hub (in the older setup) is like an office building that holds shared rules, network settings and connections for several project workspaces. Choosing among these is mostly about how much you want to share and how much you want to keep separate.
Devon, the new cloud lead at Ashgrove Consulting, has three client pilots starting Monday. One client only needs to translate product descriptions. Another wants an app that reads receipts, detects language and translates. The third wants a generative AI agent with its own playground, evaluations and private networking, and the security officer insists that connection secrets never appear in code. Devon opens the Azure portal, types 'AI' in the search box and gets a page of options with names that have changed twice in two years. Single-service, multi-service, Foundry resource, hub, project. Which ones does each pilot actually need, and which choice will finance and security both accept?
Before you can call any AI service you need an Azure resource that gives you an endpoint, credentials and a bill. The exam expects you to know the kinds of resources and when each is the right choice. Azure has renamed this area several times: Azure AI Studio became Azure AI Foundry and later Microsoft Foundry, and the resource once called Cognitive Services is now Azure AI services. The resource type in templates is still Microsoft.CognitiveServices/accounts, so you will see the old name in code, in role names such as Cognitive Services User and in CLI commands such as az cognitiveservices. Do not let the names distract you; focus on what each resource provides.
The simplest option is the single-service resource. A single-service resource provides one service, such as Language, Speech or Custom Vision, with its own endpoint and keys. It is useful when you want a Free (F0) tier for that one service, separate billing per service, or keys that can only call one API. That last point is a quiet security benefit: if a key for a Translator-only resource leaks, the attacker can only translate text, not analyze documents or call speech APIs. In the portal, you create it by searching for the specific service, such as Language service, and it shows up with that service's own pricing tiers.
The multi-service resource bundles many services. A multi-service Azure AI services resource exposes many services (Vision, Language, Speech, Translator, Document Intelligence and more) behind one endpoint and key pair with one bill. It is the simplest choice when one app uses several services, because the app stores one endpoint and one key instead of five. It is also the resource you attach to an Azure AI Search skillset to pay for AI enrichment, when built-in skills such as OCR, entity recognition or key phrase extraction run during indexing. The trade-off is that a leaked key opens every included service, and you cannot pick a different tier per service.
Azure AI Foundry is the layer for generative AI. It is the portal and platform for building generative AI apps and agents. A Foundry project is the workspace where you deploy models, build agents, run evaluations and use playgrounds. When you open a project you see pages for model deployments, the chat playground, agents, evaluations, connected resources and the project's endpoint and keys. A project is the unit a team works in day to day.
There are two ways to host projects. Projects can live on an Azure AI Foundry resource (an Azure AI services resource that also supports projects), which is the simpler, newer setup. The older hub-based setup uses an Azure AI hub, which is built on Azure Machine Learning: the hub holds shared settings such as connections to other resources, networking, compute and security, and teams create projects under it. A hub also brings dependent resources such as a storage account and a Key Vault, which you will see appear in the resource group when the hub is created. Hub-based projects remain relevant for features rooted in Azure Machine Learning, while the Foundry resource is the direction new projects take.
Choose based on sharing and isolation. If several teams need common connections and governance but separate workspaces, create one hub (or one Foundry resource) with a project per team or app. Security settings such as private networking and managed identities are configured once at the shared level, and each team's deployments, prompts, data and evaluations stay in its own project. If an app only needs to call one or two prebuilt APIs, a single-service or multi-service resource without Foundry is enough, and adding Foundry would only add parts to manage.
Connections keep secrets out of code. Connections in a project store how to reach other resources, such as an Azure AI Search service or a storage account, so developers do not paste keys into code. A connection can use a key or, better, Microsoft Entra ID with a managed identity. When a developer adds their own data in the playground, the project uses its connection to the search service rather than asking for a key. Connections created at the hub level are shared with all its projects, which is one of the main reasons to have a hub.
Whatever you create, you get an endpoint URL and, unless key access is disabled, two keys, shown on the resource's Keys and Endpoint page. Resources are created in a region, and not every service or model is available in every region, so region choice is part of the resource decision, which the next topic covers in detail. As a quick decision guide: one service and a free tier points to single-service; several prebuilt services and one bill points to multi-service; generative AI with playgrounds, agents and evaluations points to a Foundry project; and several teams sharing governance points to a hub or Foundry resource with multiple projects.
Think of it like this Think of renting workspace. A single-service resource is a locker that holds one thing, with its own key. A multi-service resource is a storage unit that holds many things behind one door and one key, with one bill. A hub is an office building with shared security, reception and utilities, and each project is a team's private office inside it. The analogy stops at billing: projects do not pay rent to the hub, because usage is still billed through the underlying Azure resources.
Key terms
- Single-service resource
- An Azure resource for one AI service, with its own endpoint, keys, pricing tier and bill.
- Multi-service resource
- An Azure AI services resource that exposes many AI services behind one endpoint and key pair with combined billing.
- Hub
- A shared Azure AI Foundry container, built on Azure Machine Learning, that holds connections, security and compute for several projects.
- Project
- A Foundry workspace where you deploy models, build agents, evaluate and manage the assets for one app or team.
- Connection
- A stored, reusable definition of how a project reaches another resource, such as Azure AI Search or storage, so keys stay out of code.
- Azure AI Foundry resource
- An Azure AI services resource that also supports Foundry projects, the newer and simpler way to host projects without a hub.
A consultancy runs three client pilots. It creates one hub with private networking and a connection to a shared Azure AI Search service, then a project per client so each team's deployments, prompts and evaluations stay separate while governance is set once.
Common mistakes
- Choosing a multi-service resource when the requirement is the Free (F0) tier for one service.Free tiers are offered on single-service resources. If the scenario stresses a free tier or separate keys per service, create single-service resources.
- Thinking a project and a hub are the same thing.A project is a team's workspace for deployments, agents and evaluations. A hub is the shared container above projects that holds connections, networking, compute and security, plus dependent storage and Key Vault.
- Assuming every AI app needs Azure AI Foundry.An app that only calls one or two prebuilt APIs, such as Translator or Language, works fine with a single-service or multi-service resource. Foundry adds value for generative AI, agents and evaluations.
- Believing the old Cognitive Services name means a different, outdated resource.Azure AI services is the current name, but templates still use
Microsoft.CognitiveServices/accountsand roles still say Cognitive Services. It is the same resource family.
You decide
A school district builds a homework helper that uses Vision to read photographed worksheets, Translator to translate them and Language to detect the language. Finance wants a single line on the invoice, and developers want only one endpoint to configure. Which resource do you create?
Show the answer
One multi-service Azure AI services resource. It gives one endpoint, one key pair and combined billing for Vision, Translator and Language. Single-service resources would mean three endpoints, three sets of keys and three billing lines.
Four product teams at a bank will each build generative AI assistants. The security team wants private networking and a shared connection to an approved Azure AI Search service configured once, while each team's prompts and evaluations stay separate. What structure fits?
Show the answer
One shared container (a hub, or a Foundry resource) holding the networking settings and the shared Search connection, with one project per team. Governance is set once, and each team works in its own project.
Check yourself
An app uses Vision, Language and Translator, and finance wants one bill. What should you create?
A multi-service Azure AI services resource, which gives one endpoint, one key pair and combined billing.
What does a hub provide that a project alone does not?
Shared settings for many projects: connections to other resources, networking, compute and security policies, plus the dependent storage and Key Vault.
Why might a security team prefer a single-service resource for an app that only translates text?
A leaked key can only call that one service, and the resource can be billed and tiered separately, which limits the impact of a compromise.