Intelligently deploys Azure OpenAI models to optimal regions by analyzing capacity across all available regions. Automatically checks current region first and shows alternatives if needed. USE FOR: quick deployment, optimal region, best region, automatic region selection, fast setup, multi-region capacity check, high availability deployment, deploy to best location. DO NOT USE FOR: custom SKU selection (use customize), specific version selection (use customize), custom capacity configuration (use customize), PTU deployments (use customize).
Start a fresh conversation. Replace the highlighted placeholders.
Use preset to assess GlobalStandard capacity for [model] using [Microsoft Foundry project resource ID], show the best available region options, and deploy only after I explicitly confirm the selected region and deployment.
Required inputs
[model]
[Microsoft Foundry project resource ID]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: presetdescription: "Intelligently deploys Azure OpenAI models to optimal regions by analyzing capacity across all available regions. Automatically checks current region first and shows alternatives if needed. USE FOR: quick deployment, optimal region, best region, automatic region selection, fast setup, multi-region capacity check, high availability deployment, deploy to best location. DO NOT USE FOR: custom SKU selection (use customize), specific version selection (use customize), custom capacity configuration (use customize), PTU deployments (use customize)."license: MITmetadata: author: Microsoft version: "1.0.1"
Deploy Model to Optimal Region
Automates intelligent Azure OpenAI model deployment by checking capacity across regions and deploying to the best available option.
What This Skill Does
Verifies Azure authentication and project scope
Checks capacity in current project's region
If no capacity: analyzes all regions and shows available alternatives
Filters projects by selected region
Supports creating new projects if needed
Deploys model with GlobalStandard SKU
Monitors deployment progress
Prerequisites
Azure CLI installed and configured
Active Azure subscription with Cognitive Services read/create permissions
Microsoft Foundry project resource ID (PROJECT_RESOURCE_ID env var or provided interactively)
Found in: Microsoft Foundry portal → Project → Overview → Resource ID
Quick Workflow
Fast Path (Current Region Has Capacity)
1. Check authentication → 2. Get project → 3. Check current region capacity
→ 4. Deploy immediately
Alternative Region Path (No Capacity)
1. Check authentication → 2. Get project → 3. Check current region (no capacity)
→ 4. Query all regions → 5. Show alternatives → 6. Select region + project
→ 7. Deploy
Deployment Phases
Phase
Action
Key Commands
1. Verify Auth
Check Azure CLI login and subscription
az account show, az login
2. Get Project
Parse PROJECT_RESOURCE_ID ARM ID, verify exists
az cognitiveservices account show
3. Get Model
List available models, user selects model + version
az cognitiveservices account list-models
4. Check Current Region
Query capacity using GlobalStandard SKU
az rest --method GET .../modelCapacities
5. Multi-Region Query
If no local capacity, query all regions
Same capacity API without location filter
6. Select Region + Project
User picks region; find or create project
az cognitiveservices account list, az cognitiveservices account create