Skip to content

Commit df75dfc

Browse files
Fix deprecated PriceSheet API version from 2023-03-01 to 2023-05-01
Co-authored-by: RolandKrummenacher <1803486+RolandKrummenacher@users.noreply.github.com>
1 parent e403a0e commit df75dfc

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs-mslearn/toolkit/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ _Released January 2026_
6464
- Fixed `Costs_v1_2` function producing duplicate records when Services table contains multiple entries for the same resource type.
6565
- Fixed backward compatibility in `Costs_transform_v1_2()` to support Cost Management exports that predate FOCUS 1.2.
6666
- Fixed broken link for GitHub Copilot instructions download in [Configure AI documentation](hubs/configure-ai.md) ([#1803](https://github.com/microsoft/finops-toolkit/issues/1803)).
67+
- Fixed deprecated PriceSheet API version in managed exports and optimization engine from 2023-03-01 to 2023-05-01.
6768

6869
### [Power BI reports](power-bi/reports.md) v13
6970

@@ -83,6 +84,7 @@ _Released January 2026_
8384
- **Fixed**
8485
- Fixed reservations-related workbooks by replacing Instance Size Flexibility ratios CSV vanity URL ([#1810](https://github.com/microsoft/finops-toolkit/issues/1810)).
8586
- Fixed underutilized disks recommendations not being generated for Premium SSD V2 disks ([#1831](https://github.com/microsoft/finops-toolkit/issues/1831)).
87+
- Fixed deprecated PriceSheet API version from 2023-03-01 to 2023-05-01.
8688
- Small documentation improvements and fixes to broken links.
8789

8890
### [FinOps workbooks](workbooks/finops-workbooks-overview.md) v13

src/optimization-engine/runbooks/data-collection/Export-PriceSheetToBlobStorage.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ $MaxTries = 30 # The typical Retry-After is set to 20 seconds. We'll give 10 min
309309

310310
if ($BillingAccountID -match $mcaBillingAccountIdRegex)
311311
{
312-
$PriceSheetApiPath = "/providers/Microsoft.Billing/billingAccounts/$BillingAccountID/billingProfiles/$BillingProfileID/providers/Microsoft.CostManagement/pricesheets/default/download?api-version=2023-03-01&format=csv"
312+
$PriceSheetApiPath = "/providers/Microsoft.Billing/billingAccounts/$BillingAccountID/billingProfiles/$BillingProfileID/providers/Microsoft.CostManagement/pricesheets/default/download?api-version=2023-05-01&format=csv"
313313
$result = Invoke-AzRestMethod -Path $PriceSheetApiPath -Method POST
314314
}
315315
else

src/templates/finops-hub/modules/Microsoft.CostManagement/ManagedExports/app.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var MSEXPORTS = 'msexports'
2222
var exportsApiVersion = '2023-07-01-preview'
2323
var exportDataVersions = {
2424
focuscost: '1.2-preview'
25-
pricesheet: '2023-03-01'
25+
pricesheet: '2023-05-01'
2626
reservationdetails: '2023-03-01'
2727
reservationrecommendations: '2023-05-01'
2828
reservationtransactions: '2023-05-01'

0 commit comments

Comments
 (0)