Create Foundry Resource
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
Quick Reference
| 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) |
When to Use
Use this sub-skill when you need to:
- Create Foundry resource - Provision new Azure AI Services multi-service account
- Create resource group - Set up resource group before creating resources
- Register resource provider - Enable Microsoft.CognitiveServices provider
- Manual resource creation - CLI-based resource provisioning
Do NOT use for:
- Creating ML workspace hubs/projects (use
microsoft-foundry:project/create) - Deploying AI models (use
microsoft-foundry:models/deploy) - Managing RBAC permissions (use
microsoft-foundry:rbac) - Monitoring resource usage (use
microsoft-foundry:quota)
Prerequisites
- Azure subscription - Active subscription (create free account)
- Azure CLI - Version 2.0 or later installed
- Authentication - Run
az loginbefore commands - RBAC roles - One of:
- Contributor
- Owner
- Custom role with
Microsoft.CognitiveServices/accounts/write
- Resource provider -
Microsoft.CognitiveServicesmust be registered in your subscription- If not registered, see Workflow #3: Register Resource Provider
- If you lack permissions, ask a subscription Owner/Contributor to register it or grant you
/register/actionprivilege
Need RBAC help? See microsoft-foundry:rbac for permission management.
Core Workflows
1. Create Resource Group
Command Pattern: "Create a resource group for my Foundry resources"
Steps
- Ask user preference: Use existing or create new resource group
- If using existing: List and let user select from available groups (0-4: show all, 5+: show 5 most recent with "Other" option)
- If creating new: Ask user to choose region, then create
bash
# List existing resource groups
az group list --query "[-5:].{Name:name, Location:location}" --out table
# Or create new