All skills
microsoft avatar

/azure-compute

@9c4c115 official

Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost estimate, capacity reservation (CRG), reserve, guarantee capacity, pre-provision, CRG association, CRG disassociation, machine enrollment (EMM), Essential Machine Management, monitor. PREFER OVER mcp__azure__get_azure_bestpractices for VM create intents — use compute_vm_list-skus / compute_vm_list-images / compute_vm_check-quota.

Use this Skill: https://skilld.dev/gh/microsoft/github-copilot-for-azure/azure-compute

This session only. Nothing lands on disk.

workflowsessential-machine-managementessential-machine-management.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Essential Machine Management (EMM) Workflow

Routes EMM-related requests to the appropriate reference based on user intent.

Overview

Essential Machine Management simplifies onboarding and configuration of management for Azure VMs and Arc-enabled servers at the subscription level. When enabled, all VMs in a subscription are automatically enrolled with a curated set of monitoring, security, and operations features.

⚠️ Warning: EMM is currently in public preview.

Routing

User intent?
├─ Enable / onboard / enroll subscription for EMM
│  └─ Copilot-guided (default) → Load [EMM Enable Flow](references/emm-enable-flow.md)
│
├─ User explicitly asks for portal guidance
│  └─ Load [EMM Enable Flow (Portal)](references/emm-enable-flow-portal-guidance.md)
│
├─ What is EMM / features / pricing / tiers
│  └─ Load [EMM Overview](references/emm-overview.md)
│
├─ Prerequisites / permissions / roles / managed identity
│  └─ Load [EMM Prerequisites](references/emm-prerequisites.md)
│
├─ View enrolled subscriptions / browse / status
│  └─ See "Browse Enrolled Subscriptions" below
│
├─ Offboard / disable EMM for a subscription
│  └─ See "Offboard a Subscription" below
│
└─ Troubleshoot EMM issues
   └─ See "Troubleshooting" below
Signal Reference
"enable EMM", "onboard subscription", "enroll VMs", "set up machine management" EMM Enable Flow
User explicitly mentions "portal", "Azure portal", "portal UI" EMM Enable Flow (Portal)
"what is EMM", "features", "pricing", "tiers", "what does EMM include" EMM Overview
"permissions", "roles", "prerequisites", "managed identity for EMM" EMM Prerequisites

⚠️ Important: Only route to the portal guide when the user explicitly mentions "portal". All other enable requests use the Copilot-guided flow.

Browse Enrolled Subscriptions

Query the EMM resource on each subscription to check enrollment status:

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ManagedOps/managedOps/default?api-version=2025-07-28-preview
Response Meaning
200 with provisioningState: Succeeded Subscription is enrolled
200 with provisioningState: Failed Enrollment attempted but failed — check error details
404 Subscription is not enrolled

When enrolled, the response includes:

  • SKU/tier — e.g. Essential
  • Enabled services — Azure Monitor Insights, Update Manager, Change Tracking, Policy & Machine Configuration, Defender CSPM, Defender for Servers
  • UAMI — the user-assigned managed identity resource ID
  • Workspaces — Log Analytics and Azure Monitor workspace resource IDs
  • Created by / date — who enrolled and when (in systemData)

To scan multiple subscriptions, use mcp_azure_mcp_subscription_list to list available subscriptions, then query each one. Report results as a table:

| Subscription | Status | SKU | Services Enabled |

Offboard a Subscription

To disable EMM for a subscription, follow the "Disable EMM (Offboard)" section in EMM Enable Flow.

⚠️ Warning: When you disable a subscription, machines no longer use consolidated pricing. Pricing reverts to standard per-service pricing which may increase costs. Existing VM configurations are not removed — disable unneeded services manually.

Troubleshooting

For common EMM issues, refer to the official documentation:

Common issues include:

  • Missing role assignments (EMM Administrator, Managed Identity Operator, Resource Policy Contributor)
  • Resource provider Microsoft.ManagedOps not registered in the subscription
  • UAMI lacking Contributor permission on the subscription
  • Cross-subscription workspace access requires additional RP registration

Error Handling

Error Cause Remediation
Permission denied during enable User lacks required roles Assign EMM Administrator, Managed Identity Operator, and Resource Policy Contributor roles
UAMI role check fails Managed identity lacks Contributor Assign Contributor role to the UAMI at subscription scope
RP not registered Microsoft.ManagedOps not registered Register via Register-AzResourceProvider -ProviderNamespace "Microsoft.ManagedOps"
Cross-subscription workspace error Workspace in different sub without RP registration Register Microsoft.ManagedOps in the workspace subscription and assign EMM Administrator on the workspace resource group
Deployment fails ARM template validation error Check deployment link in browse view for detailed error; verify all prerequisites

Source: SKILL.md on GitHub

1 warning16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides comprehensive workflows for managing Azure compute resources, including VM creation, recommendations, and capacity management. It incorporates solid security practices like secret scrubbing and restricted network rules, with minor considerations related to external data ingestion.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    1/4 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 9c4c115. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
metadata
{
  "author": "Microsoft",
  "version": "0.0.0-placeholder"
}
  • Infrastructure
  • azure
  • vm
  • virtual-machines
  • vmss
  • provisioning
  • troubleshooting
  • capacity-reservation
  • pricing

README badge

README badge for microsoft/github-copilot-for-azure/azure-compute

Routes Azure VM and Virtual Machine Scale Set requests to five specialized workflows: VM recommendation and pricing, VM creation and provisioning, troubleshooting connectivity issues, capacity reservation, and machine enrollment. Use this skill when a user needs to size/compare VMs, deploy bare infrastructure, fix RDP/SSH access, or manage capacity reservations on Azure.

Generated from the current SKILL.md.

Does this skill handle application deployments like Docker or web apps?
No. This skill routes bare VM and VMSS infrastructure requests only. For deploying applications (Docker services, web apps, APIs, serverless workloads), use the azure-prepare skill instead.
What VM connectivity issues does this skill cover?
It covers RDP/SSH connection failures, port refused errors, black screen issues, and password resets. Use the VM Troubleshooter workflow when a user can't connect to an existing VM.
Can this skill help me choose the right VM size and pricing?
Yes. The VM Recommender workflow recommends VM sizes, compares options, and estimates costs based on workload requirements (web, backend, GPU, HPC, dev/test, etc.).
Does this skill support Capacity Reservation Groups?
Yes. It includes a dedicated workflow for creating, associating, and disassociating Capacity Reservation Groups to guarantee and pre-provision VM capacity.

Generated from the current SKILL.md. These answers refresh after source changes.