agentsclimarketplace

Azure cost management

Skill MicrosoftDocs/Agent-Skills/skills/azure-cost-management

Curated Agent Skills for Microsoft & Azure – giving AI coding assistants structured, real-time expertise from Microsoft Learn docs.

Install
npx -y skills add MicrosoftDocs/Agent-Skills --skill azure-cost-management

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

Expert knowledge for Azure Cost Management development including troubleshooting, best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when managing billing accounts, reservations, savings plans, cost exports, or cost/billing automation APIs, and other Azure 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).

SKILL.md

24.6 KB, as published. Nobody here has run it

Azure Cost Management Skill

This skill provides expert guidance for Azure 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-L112Guidance for cost-related decisions: billing migrations, EA/MCA/CSP account changes, reservations and savings plans, cost allocation, data transfer fees, and Azure Hybrid Benefit.
Limits & QuotasL113-L126Limits, quotas, and timing for Azure Cost Management/Billing data, free account and subscription spending limits, reservation/savings plan constraints, and billing account dormancy rules.
SecurityL127-L148Managing secure access, roles, and permissions for Azure billing, subscriptions, reservations, savings plans, and tax documents, including RBAC, EA/MCA/CSP roles, and PSD2 SCA requirements.
ConfigurationL149-L171Configuring Cost Management: tags, budgets, alerts, exports, views, filters, reservations/savings plans, SQL licensing, purchase policies, subscription moves, and partner/admin links.
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 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
Use and manage Azure EA billing accountshttps://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
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
Use amortized savings plan costs for chargebackhttps://learn.microsoft.com/en-us/azure/cost-management-billing/savings-plan/charge-back-costs
Select 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
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
Trade in Azure 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
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
Understand updated Azure reservation exchange policy limitshttps://learn.microsoft.com/en-us/azure/cost-management-billing/reservations/reservation-exchange-policy-changes
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
Manage Azure billing account dormancy and retentionhttps://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 Enterprise Agreement 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

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

TopicURL
Set up recurring large-scale cost data exportshttps://learn.microsoft.com/en-us/azure/cost-management-billing/costs/ingest-azure-usage-at-scale

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.