Skip to content

Commit e3a0690

Browse files
Merge pull request #298637 from jojohpm/docs-editor/tutorial-improved-exports-1745343927
Update tutorial-improved-exports.md
2 parents dc65074 + e48e585 commit e3a0690

File tree

1 file changed

+37
-16
lines changed

1 file changed

+37
-16
lines changed

articles/cost-management-billing/costs/tutorial-improved-exports.md

Lines changed: 37 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ You can perform the following actions on individual exports.
174174
When you create a scheduled export, the export runs at the same frequency for each export that runs later. For instance, if the export is scheduled to run once every UTC day, it creates a daily export of costs accumulated from the start of the month to the current date. Individual export runs can occur at different times throughout the day, so avoid relying on the exact time of the export runs. The run timing depends on the active load present in Azure during a given UTC day. Once an export run begins, your data should be available within 4 hours. Exports are scheduled using Coordinated Universal Time (UTC). The Exports API always uses and displays UTC.
175175

176176
When you create an export using the [Exports API](/rest/api/cost-management/exports/create-or-update?tabs=HTTP), specify the `recurrencePeriod` in UTC time. The API doesn’t convert your local time to UTC.
177-
- Example - A daily export is scheduled on Friday, August 19 with `recurrencePeriod` set to 2:00 PM. The API receives the input as 2:00 PM UTC, Friday, August 19.
177+
- Example - A daily export is scheduled on Friday, August 19 with `recurrencePeriod` set to 2:00 PM. The API receives the input as 2:00 PM UTC, Friday, August 19.
178178

179179
When you create an export in the Azure portal, its start date time is automatically converted to the equivalent UTC time.
180-
- Example - A daily export is scheduled on Friday, August 19 with the local time of 2:00 AM IST (UTC+5:30) from the Azure portal. The API receives the input as 8:30 PM, Thursday, August 18.
180+
- Example - A daily export is scheduled on Friday, August 19 with the local time of 2:00 AM IST (UTC+5:30) from the Azure portal. The API receives the input as 8:30 PM, Thursday, August 18.
181181

182182
Various datasets support different schedule frequency options as described in the following table.
183183

@@ -330,27 +330,48 @@ Here are some frequently asked questions and answers about exports.
330330
### Why is file partitioning enabled in exports?
331331
The file partitioning is a feature that is activated by default to facilitate the management of large files. This functionality divides larger files into smaller segments, which enhances the ease of file transfer, download, ingestion, and overall readability. It's advantageous for customers whose cost files increase in size over time. The specifics of the file partitions are described in a manifest.json file provided with each export run, enabling you to rejoin the original file.
332332

333-
#### How does the enhanced export experience handle missing attributes like subscription IDs?
333+
### How does the enhanced export experience handle missing attributes like subscription IDs?
334334

335335
In the new export experience, missing attributes such as subscription IDs are set to null or empty rather than using a default empty GUID (00000000-0000-0000-0000-000000000000). The null or empty values more accurately indicate the absence of a value. It affects charges pertaining to unused reservations, unused savings plan, and rounding adjustments.
336336

337-
#### How much historical data can I retrieve using Exports?
337+
### How much historical data can I retrieve using exports?
338338

339-
You can retrieve up to 13 months of historical data through the Azure portal for all datasets, except for reservation recommendations, which are limited to the current recommendation snapshot. To access data older than 13 months, you can use the REST API.
339+
You can retrieve historical data using exports through either the **Azure portal** or the **REST API**, depending on your dataset and time range requirements.
340340

341-
- Cost and usage (Actual), Cost and usage (Amortized), and Cost and usage (FOCUS): Up to seven years of data.
341+
#### Retrieve historical data via Azure portal
342342

343-
- Reservation transactions: Up to seven years of data across all channels.
343+
The Azure portal supports retrieval of up to **13 months** of historical data for most datasets.
344344

345-
- Reservation recommendations, Reservation details: Up to 13 months of data.
345+
To retrieve historical data:
346346

347-
- All available prices:
348-
349-
- MCA/MPA: Up to 13 months.
347+
1. Create a one-time or custom export (e.g., Actual cost, Amortized cost, or Price sheet).
348+
2. After saving the export, go to **Cost Management > Exports**, and select your export.
349+
3. Click **Export selected dates** to rerun the export for specific historical months — note that data can be retrieved **one month at a time**, up to the 13-month limit.
350350

351-
- EA: Up to 25 months (starting from December 2022).
351+
> [!NOTE]
352+
> Reservation recommendations are based on the current snapshot only and do not support historical backfill.
353+
354+
#### Retrieve data via REST API
355+
356+
- To access data older than 13 months, use the [Exports - Execute REST API](/rest/api/cost-management/exports/execute?view=rest-cost-management-2025-03-01&preserve-view=true).
357+
- This method allows programmatic backfill of data for specific date ranges, depending on dataset availability.
358+
359+
#### Data retention limits by dataset
360+
361+
| Dataset | Azure portal limit | REST API limit |
362+
|---------------------------------------------|-------------------------|------------------------|
363+
| Cost and usage (Actual, Amortized, FOCUS) | Up to 13 months | Up to 7 years |
364+
| Reservation transactions | Up to 13 months | Up to 7 years |
365+
| Reservation details | Up to 13 months | Up to 13 months |
366+
| Reservation recommendations | Current snapshot only | Current snapshot only |
367+
| Price sheet | Up to 13 months | MCA/MPA: 13 months<br>EA: 25 months |
368+
369+
> [!TIP]
370+
> For retrieving more than 13 months of historical data, or automating backfills at scale, the REST API is recommended.
371+
372+
352373

353-
#### Which datasets support Parquet format and compression?
374+
### Which datasets support Parquet format and compression?
354375

355376
The following table captures the supported formats and compression formats for each of the exported datasets. If you're creating an export with multiple datasets, Parquet & compression options only appear in the dropdown if all of the selected datasets support them.
356377

@@ -370,7 +391,7 @@ The following table captures the supported formats and compression formats for e
370391
|Price Sheet|CSV|None, Gzip|
371392
||Parquet|None, Snappy|
372393

373-
#### Why do I get the 'Unauthorized' error while trying to create an Export?
394+
### Why do I get the 'Unauthorized' error while trying to create an Export?
374395

375396
When attempting to create an Export to a storage account with a firewall, the user must have the Owner role or a custom role with `Microsoft.Authorization/roleAssignments/write` and `Microsoft.Authorization/permissions/read` permissions. If these permissions are missing, you encounter an error similar to:
376397

@@ -386,7 +407,7 @@ When attempting to create an Export to a storage account with a firewall, the us
386407

387408
You can check for the permissions on the storage account by referring to the steps in [Check access for a user to a single Azure resource](../../role-based-access-control/check-access.md).
388409

389-
#### What is the maximum number of subscriptions allowed within a management group (MG) when creating an export?
410+
### What is the maximum number of subscriptions allowed within a management group (MG) when creating an export?
390411

391412
The maximum limit is **3,000 subscriptions** per management group in Cost Management, including exports.
392413

@@ -396,7 +417,7 @@ To manage more than 3,000 subscriptions:
396417

397418
- Alternatively, if all subscriptions are under the same billing account, create an export at the **billing account scope** to get combined data.
398419

399-
#### How are the exported files organized in the blob storage folders?
420+
### How are the exported files organized in the blob storage folders?
400421

401422
The exported files are organized in a structured hierarchy within the storage folders. The naming and hierarchy of the folders are as follows:
402423

0 commit comments

Comments
 (0)