← LeaderboardThe Skill Leaderboard

azure-cost-management

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 billing accounts, budgets/alerts, cost exports, reservations/savings plans, or cost 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 Impact Reporting (use azure-impact-reporting).

Published by MicrosoftDocs ↗MicrosoftDocs/Agent-Skills

Try your first task

A source-grounded starter task has not been verified for this skill yet.

SKILL.md

name: azure-cost-managementdescription: 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 billing accounts, budgets/alerts, cost exports, reservations/savings plans, or cost 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 Impact Reporting (use azure-impact-reporting).compatibility: Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.metadata:   generated_at: "2026-11-01"  generator: "docs2skills/1.0.0"

Cost Management Skill

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 Cost Management and billing issues: subscription access/sign-up, disabled accounts, reservations/savings plans, invoices/payments, and EA/CSP/MCA billing errors.
Best PracticesL66-L77Best 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 MakingL78-L114Guidance for choosing and configuring Azure billing, cost allocation, reservations, savings plans, EA/MCA/CSP transitions, and subscription/product transfers to optimize and manage cloud spend.
Limits & QuotasL115-L126Usage, timing, and granularity limits for Cost Management data; free account credits and quotas; subscription spending limits; savings plan utilization timing; multi-subscription and dormant account constraints
SecurityL127-L149Managing secure access to Azure billing, cost data, EA/MCA/CSP accounts, reservations, and savings plans using RBAC roles, admin elevation, policies, and compliance (e.g., PSD2 SCA, tax docs).
ConfigurationL150-L171Configuring Cost Management: tags, views, filters, exports, budgets, alerts, reservations/savings plans, SQL licensing, and subscription/billing ownership and policies.
Integrations & Coding PatternsL172-L189APIs, scripts, and PowerShell patterns to automate cost analysis, billing data retrieval, and programmatic creation/migration of Azure subscriptions and reservations.
DeploymentL190-L193Configuring 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 high Azure savings plan utilizationhttps://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

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 MCA-Online Azure subscriptions to Enterprise Agreementhttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/mca-online-ea-transfer
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 plan Azure subscription and 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
Choose and use Microsoft Agent Prepurchase Planhttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/agent-pre-purchase
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
Plan 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
Manually calculate EA savings plan cost savingshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/calculate-ea-savings-plan-savings
Choose an Azure savings plan commitment amounthttps://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
Use Azure savings plan purchase recommendationshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/purchase-recommendations
Trade in Azure reservations for savings planshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/reservation-trade-in
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

Security

TopicURL
Check Azure credit balance using portal and APIshttps://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
Administer Azure EA billing in the portalhttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/direct-ea-administration
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 Enterprise Agreement billing admin roleshttps://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 Azure reservation RBAC access 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 who can buy Azure savings planshttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/permission-buy-savings-plan
Configure Azure savings plan management permissionshttps://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
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

Integrations & Coding Patterns

TopicURL
Analyze Azure costs using the Cost Management Power BI apphttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/analyze-cost-data-azure-cost-management-power-bi-template-app
Automate Azure cost management with APIs and scriptshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/manage-automation
Map Azure billing scenarios to Cost Management APIshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/cost-management-automation-scenarios
Automate MCA billing role migration across tenants with PowerShellhttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/mca-role-migration
Create MCA subscriptions across associated billing tenantshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/programmatically-create-customer-agreement-associated-billing-tenants
Programmatically create Azure subscriptions via REST APIshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/programmatically-create-subscription
Create EA subscriptions using latest Azure APIshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/programmatically-create-subscription-enterprise-agreement
Create MCA subscriptions programmatically with latest APIshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/programmatically-create-subscription-microsoft-customer-agreement
Programmatically create MCA subscriptions across Entra tenantshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/programmatically-create-subscription-microsoft-customer-agreement-across-tenants
Programmatically create Partner Agreement Azure subscriptionshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/programmatically-create-subscription-microsoft-partner-agreement
Programmatically create Azure subscriptions with legacy APIshttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/programmatically-create-subscription-preview
Use Cost Details API for EA billing analysishttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/review-enterprise-billing
Retrieve subscription billing data via Cost Details APIhttps://learn.microsoft.com/en-us/azure/cost-management-billing/manage/review-subscription-billing
Use Azure reservation APIs for automationhttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/reservation-apis

Deployment

azure-cost-management by MicrosoftDocs · The Skill Leaderboard