microsoft / AzureUsageAndBillingPortal

This web application solution enables you to monitor the usage and billing for any Azure subscriptions you have access to.
Other
199 stars 88 forks source link

Issue with CSP subcription cost receiving #71

Open engoncharov opened 7 years ago

engoncharov commented 7 years ago

I have some Azure subscriptions monitored. And I have only issue with Azure CSP subscription cost receiving. It is in pending status. The error in WebJobBillingData is the following. How to retrieve costs for CSP.

WebJobBillingData.exe Information: 0 : Azure WebJob Log Writer configured WebJobBillingData.exe Information: 0 : WebJob process started. SubscriptionId: cb538d2f-868a-4b22-a7bf-5688ed137dc2 WebJobBillingData.exe Information: 0 : Start time:6/11/2017 9:00:37 PM, retries Left: 2 WebJobBillingData.exe Information: 0 : Request cost info from RateCard service. WebJobBillingData.exe Warning: 0 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WebJobBillingData.exe Warning: 0 : httpWebResponse == null WebJobBillingData.exe Warning: 0 : GetRateCardInfo(restUrl, orgId) WebJobBillingData.exe Warning: 0 : restUrl: https://management.azure.com/subscriptions/cb538d2f-868a-4b22-a7bf-5688ed137dc2/providers/Microsoft.Commerce/RateCard?api-version=2015-06-01-preview&$filter=OfferDurableId eq 'MS-AZR-0003P' and Currency eq 'USD' and Locale eq 'en-US' and RegionInfo eq 'US' WebJobBillingData.exe Warning: 0 : orgId: 7441e116-ef50-4bf6-a98f-1fa0671ccfb5 WebJobBillingData.exe Warning: 0 : Problem receiving cost info occured - see log for details. WebJobBillingData.exe Information: 0 : Start time:6/11/2017 9:00:38 PM, retries Left: 1 WebJobBillingData.exe Information: 0 : Request cost info from RateCard service. WebJobBillingData.exe Warning: 0 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WebJobBillingData.exe Warning: 0 : httpWebResponse == null WebJobBillingData.exe Warning: 0 : GetRateCardInfo(restUrl, orgId) WebJobBillingData.exe Warning: 0 : restUrl: https://management.azure.com/subscriptions/cb538d2f-868a-4b22-a7bf-5688ed137dc2/providers/Microsoft.Commerce/RateCard?api-version=2015-06-01-preview&$filter=OfferDurableId eq 'MS-AZR-0003P' and Currency eq 'USD' and Locale eq 'en-US' and RegionInfo eq 'US' WebJobBillingData.exe Warning: 0 : orgId: 7441e116-ef50-4bf6-a98f-1fa0671ccfb5 WebJobBillingData.exe Warning: 0 : Problem receiving cost info occured - see log for details. WebJobBillingData.exe Information: 0 : Finished internal retries, time:6/11/2017 9:00:38 PM

FBoucher commented 7 years ago

CSP is not supported in AUbi... For CSP subscriptions check the project Peek