Skip to main content

Creating Your First Foundry Resource — Setting Up Your Environment

[ ABORT TO HUD ]
SEQ. 1
SEQ. 2
SEQ. 3
SEQ. 4

Creating Your First Foundry Resource

⚙️ Setting Up Your Environment 7 min 60 BASE XP⌨ HANDS-ON LAB

Step-by-Step: Create a Foundry Resource

There are two ways to create your Foundry resource: via the Azure Portal or via the Foundry Portal.

Method 1: Foundry Portal (Recommended)

  1. Navigate to ai.azure.com
  2. Click "+ Create project"
  3. Enter a project name and select your subscription
  4. The portal will automatically create the underlying Foundry resource
  5. Choose your region (East US recommended for broadest availability)
  6. Click Create

Method 2: Azure Portal

  1. Go to portal.azure.com
  2. Search for "Azure AI Foundry" or "AI Services"
  3. Click Create
  4. Fill in: Subscription, Resource Group, Region, Name
  5. Review + Create

Method 3: Azure CLI

az cognitiveservices account create \
  --name my-foundry-resource \
  --resource-group my-rg \
  --kind AIServices \
  --sku S0 \
  --location eastus \
  --allow-project-management true \
  --assign-identity

# Create a child Foundry Project (Azure CLI >= 2.80.0):
az cognitiveservices account project create \
  --name my-foundry-resource \
  --resource-group my-rg \
  --project-name my-ai-project \
  --location eastus
🚧 Important: While a unified Foundry resource (kind: AIServices) keeps initial provisioning lightweight, creating a Hub-based Foundry resource (or configuring Standard Agent BYO-resource isolation) automatically provisions/links dependent resources: Azure Storage Account (for artifacts), Azure Key Vault (for secrets), and optionally Application Insights (for monitoring).
⌨ HANDS-ON LABProvision Foundry with the Azure CLI
⭐ +200 XP

Skip the portal. Provision a Foundry (AIServices) resource full from the terminal: authenticate, create a resource group, then the resource itself.

1Authenticate the Azure CLI.
2Create a resource group (any name + location).
3Create the Foundry resource: a Cognitive Services account with kind AIServices.
lab-sandbox — simulated environment
INFINITY LAB SANDBOX v2.6 — simulated shell
Type the command for the current objective. Helpers: "hint", "solution", "clear".
$
OBJECTIVE 1 / 3 — type "hint" if stuck
FOUNDRY VERIFICATION
QUERY 1 // 1
What dependent resources does Foundry automatically provision?
Only a database
Storage Account, Key Vault, and optionally Application Insights
A virtual machine
Nothing - it's serverless only