Skip to content

az costmanagement query deprecated #148

@JohannesRudolph

Description

@JohannesRudolph

Describe the bug
Azure CLI no longer ships the az costmanagement query command used by collie https://github.com/Azure/azure-cli-extensions/blob/main/src/costmanagement/HISTORY.rst#021

This means that attempts to fetch cost data from azure fail for users with that new version of the azure cli extension installed.

Reach of the bug
Only users using Azure with that new version of the azure cli extension installed.

Impact of the bug
collie tenant costs command fails with errors

To Reproduce

  1. az extension list. verify v0.2.1 of costmanagement extension is installed, e.g.
[
  {
    "experimental": false,
    "extensionType": "whl",
    "name": "costmanagement",
    "path": "/home/jrudolph/.azure/cliextensions/costmanagement",
    "preview": false,
    "version": "0.2.1"
  }
]
  1. collie tenant costs

Expected behavior
Collie fetches cost data as before.

Azure CLI extension release notes claim

You can aggregate or filter the raw data from az costmanagement export instead.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions