A Blazor-based dashboard for reviewing Azure subscription Actual Cost and managing budgets according to each signed-in user's Azure permissions.
- .NET 10 SDK
- PowerShell 7.4 or later 👉 Windows ONLY
- Azure CLI
- Azure Developer CLI
- Aspire CLI
- GitHub Copilot app
-
Login to Azure.
# Azure CLI az login # Azure Developer CLI azd auth login
-
Create the local Microsoft Entra registration and credential.
# zsh/bash ./scripts/new-dashboard-entra-app.sh --with-client-secret# PowerShell ./scripts/New-DashboardEntraApp.ps1 -WithClientSecret
-
Run Aspire.
# Aspire CLI aspire run --file ./apphost.cs # dotnet CLI dotnet run --project src/AzureCostDashboard.AppHost
-
Run the command.
azd up
You will be asked to provide the environment name, subscription and location.
-
If you want to use GitHub Actions as the CI/CD pipeline, run the following command and push changes.
azd pipeline config
Then, follow the prompt by selecting and/or entering values.
The extension in .github/extensions/azure-cost-dashboard provides an Azure Cost Dashboard canvas backed by the current Azure CLI session:
Open this repository in the GitHub Copilot app and ask Copilot to open the Azure Cost Dashboard canvas. The canvas discovers the subscriptions visible to the signed-in Azure CLI user and queries month-to-date Actual Cost.
See the PRD MoSCoW priorities and implementation status for completed and remaining Must-have, Should-have, Could-have, and Won't-have items.
