Cost Management Skill

SkillCloud & infra

Expert knowledge for Cost Management development including troubleshooting, best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when managing Azure cost exports, budgets/alerts, tags, reservations/savings plans, or billing APIs, and other Cost Management related development tasks. Not for Azure Advisor (use azure-advisor), Azure Monitor (use azure-monitor), Azure Quotas (use azure-quotas), Azure Policy (use azure-policy).

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Cost Management Skill skill

What this skill tells your AI

The instructions your AI receives, as published by microsoftdocs/agent-skills in skills/azure-cost-management/SKILL.md and read by ahel’s review.

This skill provides expert guidance for Cost Management. Covers troubleshooting, best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.

How to Use This Skill

IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g., L35-L120), use read_file with the specified lines. For categories with file links (e.g., [security.md](security.md)), use read_file on the linked reference file

IMPORTANT for Agent: If metadata.generated_at is more than 3 months old, suggest the user pull the latest version from the repository. If mcp_microsoftdocs tools are not available, suggest the user install it: Installation Guide

This skill requires network access to fetch documentation content:

  • Preferred: Use mcp_microsoftdocs:microsoft_docs_fetch with query string from=learn-agent-skill. Returns Markdown.
  • Fallback: Use fetch_webpage with query string from=learn-agent-skill&accept=text/markdown. Returns Markdown.

Category Index

CategoryLinesDescription
TroubleshootingL36-L65Diagnosing and fixing Azure billing, subscription, and reservation issues (sign-up, access, payments, invoices, utilization, and error codes) including EA, MCA, CSP, and student accounts.
Best PracticesL66-L78Best practices for analyzing and optimizing Azure costs, using Advisor, managing subscriptions and agreements, leveraging savings plans and SQL licensing, and setting up cost governance processes.
Decision MakingL79-L115Guidance for choosing and configuring Azure billing, cost allocation, reservations, savings plans, EA→MCA migrations, account/offer changes, and partner/CSP billing to optimize costs.
Limits & QuotasL116-L128Limits, quotas, and timing for Cost Management data; free account credits and spending limits; subscription creation and dormancy limits; and savings plan exclusions/utilization.
SecurityL129-L150Roles, permissions, and security for accessing Azure cost, billing, EA, MCA, CSP, reservations, savings plans, credit balance, and tax documents across tenants and subscriptions.
ConfigurationL151-L173Configuring Cost Management: tags, budgets, alerts, exports, views, filters, reservations/savings plans, SQL licensing, purchase policies, subscription moves, and partner/admin links.
Integrations & Coding PatternsL174-L191APIs, scripts, and PowerShell patterns to automate cost analysis, billing data retrieval, and programmatic creation/migration of Azure subscriptions and reservations.
DeploymentL192-L195Configuring automated, large-scale exports of Azure cost and usage data to storage (like Azure Storage), including setup, scheduling, and management for ongoing cost analysis.

Troubleshooting

TopicURL
Troubleshoot common Azure Cost Management error codeshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/cost-management-error-codes
Troubleshoot and reactivate disabled Azure for Studentshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/azurestudents-subscription-disabled
Diagnose and reactivate disabled Azure subscriptionshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/subscription-disabled
Troubleshoot subscription access issues after MCA signuphttps://learn.microsoft.com/en-us/azure/cost-management-billing/microsoft-customer-agreement/troubleshoot-subscription-access
Find Azure reservation purchasers using Monitor logshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/find-reservation-purchaser-from-logs
Fix unavailable Azure reservation usage downloadshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/troubleshoot-download-usage
Resolve 'No eligible subscriptions' errors when buying reservationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/troubleshoot-no-eligible-subscriptions
Troubleshoot unavailable Azure reservation typeshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/troubleshoot-product-not-available
Troubleshoot Azure reservation recommendation discrepancieshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/troubleshoot-reservation-recommendation
Transfer Azure reservation orders between Entra tenantshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/troubleshoot-reservation-transfers-between-tenants
Diagnose and fix Azure reservation utilization issueshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/troubleshoot-reservation-utilization
Troubleshoot Azure savings plan utilization anomalieshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/troubleshoot-savings-plan-utilization
Troubleshoot Azure billing payment update errorshttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-billing/billing-troubleshoot-azure-payment-issues
Fix VM creation errors for Azure EA usershttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-billing/cannot-create-vm
Resolve missing billing account in Azure portalhttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-billing/troubleshoot-account-not-found
Fix issues viewing Azure invoices in portalhttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-billing/troubleshoot-cant-find-invoice
Troubleshoot CSP billing with reconciliation usage fileshttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-billing/troubleshoot-csp-billing-issues-usage-file-pivot-tables
Troubleshoot MCA billing using Azure usage pivot tableshttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-billing/troubleshoot-customer-agreement-billing-issues-usage-file-pivot-tables
Resolve declined credit cards for Azure billinghttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-billing/troubleshoot-declined-card
Troubleshoot Azure EA billing with usage pivot tableshttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-billing/troubleshoot-ea-billing-issues-usage-file-pivot-tables
Diagnose and fix Azure threshold billing issueshttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-billing/troubleshoot-threshold-billing
Resolve Azure subscription sign-up directory errorshttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-subscription/cannot-sign-up-subscription
Resolve 'No subscriptions found' error in Azure portalhttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-subscription/no-subscriptions-found
Troubleshoot new Azure account sign-up issueshttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-subscription/troubleshoot-azure-sign-up
Fix 'Not available due to conflict' for reservationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-subscription/troubleshoot-not-available-conflict
Troubleshoot Azure portal subscription sign-in problemshttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-subscription/troubleshoot-sign-in-issue

Best Practices

TopicURL
Use Cost Analysis for common Azure cost questionshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/cost-analysis-common-uses
Apply Azure Cost Management optimization best practiceshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/cost-mgt-best-practices
Reduce Azure costs using Advisor recommendationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/tutorial-acm-opt-recommendations
Safely cancel and delete Azure subscriptionshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/cancel-azure-subscription
Follow best practices to onboard to Microsoft Customer Agreementhttps://learn.microsoft.com/en-us/azure/cost-management-billing/microsoft-customer-agreement/onboard-microsoft-customer-agreement
Manually calculate EA savings plan cost savingshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/calculate-ea-savings-plan-savings
Apply centrally managed SQL licenses to Azure usagehttps://learn.microsoft.com/en-us/azure/cost-management-billing/scope-level/manage-licenses-centrally
Combine SQL HADR and centrally managed Hybrid Benefithttps://learn.microsoft.com/en-us/azure/cost-management-billing/scope-level/sql-server-hadr-licenses
Plan and implement Azure cost management practiceshttps://learn.microsoft.com/en-us/azure/cost-management-billing/understand/plan-manage-costs

Decision Making

TopicURL
Decide and configure Azure cost allocation ruleshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/allocate-costs
Plan and implement Azure cost allocation strategieshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/cost-allocation-introduction
Choose and use built-in Cost Analysis viewshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/cost-analysis-built-in-views
Plan migration from EA to MCA Cost Management APIshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/migrate-cost-management-api
Decide and manage Azure Enterprise Agreement billinghttps://learn.microsoft.com/en-us/azure/cost-management-billing/enterprise-agreement-faq
Understand Azure data transfer fees and scenarioshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/data-transfer-fees
Decide on Azure EA VM reserved instances savingshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/ea-portal-vm-reservations
Evaluate Azure EA pricing and usage calculationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/ea-pricing-overview
Transfer Azure billing ownership to MCAhttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/mca-request-billing-ownership
Transition Enterprise Agreement billing to Microsoft Customer Agreementhttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/mca-setup-account
Decide and understand supported Azure product transfershttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/subscription-transfer
Decide and execute Azure subscription offer changeshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/switch-azure-offer
Choose and upgrade Azure free or student accountshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/upgrade-azure-subscription
Prepare subscriptions for Microsoft Customer Agreement billing migrationhttps://learn.microsoft.com/en-us/azure/cost-management-billing/microsoft-customer-agreement/checklist-microsoft-customer-agreement-billing-migration
Manage Azure billing as a partner in CSPhttps://learn.microsoft.com/en-us/azure/cost-management-billing/partner-faq
Determine which Azure reservation to purchasehttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/determine-reservation-purchase
Manage exchanges and refunds for Azure Reservationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/exchange-and-refund-azure-reservations
Choose and purchase Microsoft Fabric capacity reservationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/fabric-capacity
Plan transition from retired Azure Reserved VM Instanceshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/manage-legacy-vm-reservations-after-july-1-2026
Understand Azure reservation exchange policy changeshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/reservation-exchange-policy-changes
Use amortized savings plan costs for chargebackhttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/charge-back-costs
Select optimal Azure savings plan commitmenthttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/choose-commitment-amount
Decide between Azure savings plans and reservationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/decide-between-savings-plan-reservation
Understand how Azure savings plan discounts are appliedhttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/discount-application
Interpret and use Azure savings plan recommendationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/purchase-recommendations
Decide when and how to trade reservations for savings planshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/reservation-trade-in
Choose and understand Azure savings plan scopeshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/scope-savings-plan
Decide and manage scope for Azure Hybrid Benefithttps://learn.microsoft.com/en-us/azure/cost-management-billing/scope-level/faq-azure-hybrid-benefit-scope
Plan transition to centrally managed Azure Hybrid Benefithttps://learn.microsoft.com/en-us/azure/cost-management-billing/scope-level/transition-existing
Assess impact of Azure billing meter ID updateshttps://learn.microsoft.com/en-us/azure/cost-management-billing/understand/billing-meter-id-updates
Understand shared Azure billing meter regionshttps://learn.microsoft.com/en-us/azure/cost-management-billing/understand/billing-meter-location
Understand billing for Azure external service chargeshttps://learn.microsoft.com/en-us/azure/cost-management-billing/understand/understand-azure-marketplace-charges
Plan migration from SAP HANA Large Instances on Azurehttps://learn.microsoft.com/en-us/azure/sap/large-instances/decommission-sap-hana

Limits & Quotas

TopicURL
Azure Cost Management and Billing usage limitshttps://learn.microsoft.com/en-us/azure/cost-management-billing/cost-management-billing-faq
Understand Azure Cost Management data timing and granularityhttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/understand-cost-mgt-data
Avoid charges by staying within Azure free account limitshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/avoid-charges-free-account
Understand Azure free account credits and duration limitshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/create-free-services
Understand and manage Azure subscription spending limitshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/spending-limit
Identify Azure savings plan software cost exclusionshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/software-costs-not-included
Check Azure savings plan utilization and data latencyhttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/view-utilization
Understand limits when creating multiple Azure subscriptionshttps://learn.microsoft.com/en-us/azure/cost-management-billing/troubleshoot-subscription/create-subscriptions-deploy-resources
Understand and manage Azure billing account dormancy limitshttps://learn.microsoft.com/en-us/azure/cost-management-billing/understand/keep-billing-accounts-active

Security

TopicURL
Check Azure credit balance and required roleshttps://learn.microsoft.com/en-us/azure/cost-management-billing/benefits/credits/mca-check-azure-credits-balance
Assign RBAC access to Azure Cost Management datahttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/assign-access-acm-data
Assign and change Azure subscription admin roles with RBAChttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/add-change-subscription-administrator
Migrate from Azure classic admins to RBAC roleshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/classic-administrator-retire
Elevate Global Administrator access to billing accountshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/elevate-access-global-admin
Grant RBAC permissions to create Azure EA subscriptionshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/grant-access-to-create-subscription
Configure Azure subscription transfer policies between directorieshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/manage-azure-subscription-policy
Assign Azure billing roles for account accesshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/manage-billing-access
Understand PSD2 SCA requirements for Azure purchaseshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/open-banking-strong-customer-authentication
Manage Azure EA admin roles and permissionshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/understand-ea-roles
Manage billing roles for Microsoft Customer Agreementshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/understand-mca-roles
Manage tenants and secure billing access under MCAhttps://learn.microsoft.com/en-us/azure/cost-management-billing/microsoft-customer-agreement/manage-tenants
Set CSP roles to view Azure Reservationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/how-to-view-csp-reservations
Grant RBAC access to Azure reservations with PowerShellhttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/manage-reservations-rbac-powershell
Configure permissions and roles for Azure Reservationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/view-reservations
Determine eligibility and permissions to buy Azure savings planshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/permission-buy-savings-plan
Configure permissions to view and manage savings planshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/permission-view-manage
Access and download Azure tax documents securelyhttps://learn.microsoft.com/en-us/azure/cost-management-billing/understand/mca-download-tax-document

Configuration

TopicURL
Configure and apply billing tags in Cost Managementhttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/billing-tags
Configure and use Azure Cost Management alertshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/cost-mgt-alerts-monitor-usage-spending
Configure and customize Azure Cost Analysis viewshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/customize-cost-analysis-views
Configure tag inheritance for Azure cost allocationhttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/enable-tag-inheritance
Configure Cost Management exports using SAS keyshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/export-cost-data-storage-account-sas-key
Configure grouping and filtering in Cost Analysis and Budgetshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/group-filter
Define Cost Management budgets using Bicephttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/quick-create-budget-bicep
Create Cost Management budgets with ARM templateshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/quick-create-budget-template
Set up Azure reservation utilization alertshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/reservation-utilization-alerts
Create and manage Azure Cost Management budgetshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/tutorial-acm-create-budgets
Transfer billing ownership of MOSP Azure subscriptionshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/billing-subscription-transfer
Configure Azure Marketplace and private offer purchase policieshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/enable-marketplace-purchases
Configure Partner Admin Link for Power Platform with Azure credentialshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/link-partner-id-power-apps-accounts
Configure markup rules in Azure 21Vianet Cost Managementhttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/markup-china
Move MOSP or MCA Azure subscriptions to an Enterprise Agreementhttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/mosp-ea-transfer
Configure automatic renewal settings for Azure Reservationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/reservation-renew
Configure automatic renewal for Azure savings planshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/renew-savings-plan
Create and scope SQL license assignments in Azurehttps://learn.microsoft.com/en-us/azure/cost-management-billing/scope-level/create-sql-license-assignments
Configure SQL IaaS extension registration for cost adminshttps://learn.microsoft.com/en-us/azure/cost-management-billing/scope-level/sql-iaas-extension-registration

Shortened here. Read the whole file on GitHub.

Signals

GitHub stars
742
Forks
120
Last commit
Sep 2026

ahel review

  • S4info
    community integration — published by microsoftdocs, not azure

Automated review, not a security audit. Ruleset v1+k2.

Advanced
Catalog kind
skill
Gateway key
azure-cost-management
Source
github.com/microsoftdocs/agent-skills