Hi Amit Dokwal
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
The statement that cost data can be exported in FOCUS format for up to 7 years is incorrect. Azure Cost Management allows cost data export for analysis, but it doesn’t mention a FOCUS format or a 7-year limit.
In Azure Cost Management, you can export cost data as a CSV file to a storage account for analysis. Tools and APIs are available to help with exporting and managing this data.
Azure Cost Management + Billing APIs: These APIs allow you to query cost and usage data for your Azure resources.
Azure Portal: You can create and schedule exports of your cost data directly from the Azure portal.
To set up exports in Azure, go to Cost Management + Billing, click Exports, and create a new export. Choose how often (daily, weekly, or monthly) and where to store the CSV files.
If you need cost data for long-term analysis, you’ll need to store and archive the exported files yourself, as Azure keeps detailed usage data for only 13 months.
For reference, please review this documentation: -
https://learn.microsoft.com/bs-latn-ba/azure/cost-management-billing/costs/ingest-azure-usage-at-scale
https://learn.microsoft.com/en-us/rest/api/cost-management/exports/create-or-update?view=rest-cost-management-2023-07-01-preview&tabs=http%22
https://learn.microsoft.com/en-us/azure/cost-management-billing/dataset-schema/cost-usage-details-focus
If you have any further queries, do let us know.
If the answer is helpful, please click "Accept Answer" and "Upvote it".