question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] ConsumptionManagementClient is using outdated apiVersion making request to fail

See original GitHub issue

Describe the bug ConsumptionManagementClient is using outdated apiVersion (2018-01-31)for your latest release making request failing with message : Subscription scope usage is not supported for current api version. Please use api version after 2019-10-01

Expected behavior using newer api version so request will work

Environment:

  • Name and version of the Library package used: Microsoft.Azure.Management.Consumption 3.0.2
  • Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): Windows 10 .NET Framework 4.8
  • IDE and version : VisualStudio 2017 (15.9.25)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
thiagocamargoscommented, Oct 18, 2021

Hi,

We would like to use the updated version of .net sdk for consumption. Is there a timeline for a new release, or has this package been dropped/replaced?

0reactions
msftbot[bot]commented, Jan 3, 2022

Hi @plaramee1, since you haven’t asked that we “/unresolve” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve” to reopen the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft.Azure.Management.Consumption .NET package ...
Consumption 3.0.2 package to access the usage and consumption data. However in the call to UsageDetails.List I get the following error:.
Read more >
Please use api version after 2019-10-01
When I execute. az consumption usage list. from a terminal it errors out with message. Command group 'consumption' is in preview and under ......
Read more >
Please use api version after 2019-10-01
When I execute. az consumption usage list. from a terminal it errors out with message. Command group 'consumption' is in preview and under...
Read more >
UnsupportedApiVersion error when giving some different ...
We are using 4.1.1 version of APiVersioning and 3.1 version of Asp.NetCore I have a controller with an action which accepts only ...
Read more >
Template fails because of missing API version when using ...
The correct fix here could be apiVersion or wrapping in the condition. If we just add the apiVersion, we may cause a reference...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found