Hi,
I'm trying to setup ccf for Azure account. But I'm getting following error
Unable to process footprint request.
Error: Azure ConsumptionManagementClient.usageDetails.list failed.
Reason: Subscription scope usage is not supported for current api version. Please use api version after 2019-10-01 (Request ID: )
[1] at ConsumptionManagementService.<anonymous> (C:\test\nodejs\cloud-carbon-footprint\packages\azure\src\lib\ConsumptionManagement.ts:187:13)
[1] at step (C:\test\nodejs\cloud-carbon-footprint\packages\azure\src\lib\ConsumptionManagement.ts:33:23)
[1] at Object.throw (C:\test\nodejs\cloud-carbon-footprint\packages\azure\src\lib\ConsumptionManagement.ts:14:53)
[1] at rejected (C:\test\nodejs\cloud-carbon-footprint\packages\azure\src\lib\ConsumptionManagement.ts:6:65)
(I have installed latest version of ccf in C:\test\nodejs)
I tried changing API version in "test-azure-app\node_modules\@azure\arm-consumption\src\consumptionManagementClientContext.ts" file as "2020-06-01". But the same error is persisting. I tried to link core packages externally and change API version, package version from there but it wasn't helpful.
If anyone could guide me how to resolve this it would be very helpful.
Thanking in advance.