Intermediatereporting
Azure Carbon Skimmer
Professional PowerShell script that harvests carbon emissions data from Azure subscriptions like a sustainability chef gathering the finest ingredients. Generate CSV reports optimized for dashboard consumption.
⏱️ Prep Time:Perfect soufflé timing
🧩 Difficulty:Intermediate
🔍 What It Does
- 🌍 Multi-subscription carbon data collection across your entire Azure estate
- 📊 Five report types: from detailed line items to executive summaries
- 🔐 Enterprise authentication: Service Principal, Azure CLI, and PowerShell contexts
- ⚡ Intelligent rate limiting and concurrent processing with API respect
- 📈 CSV export optimized for Power BI, Tableau, and custom dashboards
- 🛡️ Comprehensive error handling with detailed troubleshooting guidance
- 📅 Flexible date ranges with automatic data availability validation
- 🔄 Pagination support for complete dataset retrieval in large environments
⚙️ Requirements Checklist
- ✅ PowerShell 5.1+ (Windows PowerShell or PowerShell Core)
- ✅ Azure authentication: CLI, PowerShell module, or Service Principal
- ✅ Carbon Optimization Reader role on target Azure subscriptions
- ✅ Internet connectivity to Azure Management API endpoints
- ✅ Understanding that carbon data has 19+ day processing delay
📌 Talk Nerdy Tip:
Start with a single subscription and OverallSummaryReport to test authentication and service availability before scaling to enterprise-wide carbon data collection. Like testing a new recipe with a small portion first. 👨🍳
carbon-emissionsazuresustainabilityreportingpowershellcsv-exportdashboardenvironmental-impactcarbon-apimulti-subscription