Chapter 36 · Microsoft Foundry
Subchapter 36.121
resource/create/create-foundry-resource.mdMarkdown6 KBView on GitHub
This sub-skill orchestrates creation of Azure AI Services multi-service resources using Azure CLI.
Important: All resource creation operations are control plane (management) operations. Use Azure CLI commands as the primary method.
Note: For monitoring resource usage and quotas, use the
microsoft-foundry:quotaskill.
Table of Contents: Quick Reference · When to Use · Prerequisites · Core Workflows · Important Notes · Additional Resources
| Property | Value |
|---|---|
| Classification | WORKFLOW SKILL |
| Operation Type | Control Plane (Management) |
| Primary Method | Azure CLI: az cognitiveservices account create |
| Resource Type | Microsoft.CognitiveServices/accounts (kind: AIServices) |
| Resource Kind | AIServices (multi-service) |
Use this sub-skill when you need to:
Do NOT use for:
microsoft-foundry:project/create)microsoft-foundry:models/deploy)microsoft-foundry:rbac)microsoft-foundry:quota)az login before commandsMicrosoft.CognitiveServices/accounts/writeMicrosoft.CognitiveServices must be registered in your subscription
/register/action privilegeNeed RBAC help? See microsoft-foundry:rbac for permission management.
Command Pattern: “Create a resource group for my Foundry resources”
# List existing resource groups
az group list --query "[-5:].{Name:name, Location:location}" --out table
# Or create new
az group create --name <rg-name> --location <location>
az group show --name <rg-name> --query "{Name:name, Location:location, State:properties.provisioningState}"See Detailed Workflow Steps for complete instructions.
Command Pattern: “Create a new Azure AI Services resource”
--kind AIServices and --sku S0 (only supported tier)# Create Foundry resource
az cognitiveservices account create \
--name <resource-name> \
--resource-group <rg> \
--kind AIServices \
--sku S0 \
--location <location> \
--yes
# Verify and get keys
az cognitiveservices account show --name <resource-name> --resource-group <rg>
az cognitiveservices account keys list --name <resource-name> --resource-group <rg>Important: S0 (Standard) is the only supported SKU - F0 free tier not available for AIServices.
See Detailed Workflow Steps for complete instructions.
Command Pattern: “Register Cognitive Services provider”
Required when first creating Cognitive Services in subscription or if you get ResourceProviderNotRegistered error.
# Register provider (requires Owner/Contributor role)
az provider register --namespace Microsoft.CognitiveServices
az provider show --namespace Microsoft.CognitiveServices --query "registrationState"If you lack permissions, ask a subscription Owner/Contributor to register it or use microsoft-foundry:rbac skill.
See Detailed Workflow Steps for complete instructions.
AIServices for multi-service Foundry resources