An Azure service that offers file shares in the cloud.
Hello Rishikesh V.S,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that your Azure Files - Cost/Billing not available at individual File Share level under a Storage Account.
Azure does not provide native exact Cost Management or FOCUS billing at the individual classic Azure File Share level when multiple file shares are created under the same Storage Account. For classic Azure Files, the billable resource is the Storage Account, therefore Cost Management exports, including FOCUS exports, show the Storage Account in ResourceName and ResourceId, not each individual file share. This is expected behavior and not a portal, export, or tagging issue. - https://learn.microsoft.com/en-us/azure/cost-management-billing/automate/understand-usage-details-fields, https://learn.microsoft.com/en-us/azure/cost-management-billing/dataset-schema/cost-usage-details-focus
The fix to make the chargeback boundary match the Azure billing/resource boundary is:
- For classic SMB/HDD Azure Files, create one Storage Account per file share, application, department, or cost center that requires exact chargeback.
- If the workload supports it, use the newer
Microsoft.FileShares/fileSharestop-level resource model, which creates file shares as independent Azure resources with their own provisioning, tags, and billing isolation. This option currently applies to supported NFS/SSD/provisioned v2 scenarios, not every classic SMB/HDD scenario. - https://learn.microsoft.com/en-us/azure/storage/files/create-file-share, https://learn.microsoft.com/en-us/azure/templates/microsoft.fileshares/fileshares, https://learn.microsoft.com/en-us/azure/storage/files/files-whats-new - Do not use Azure Monitor metrics as exact billing. Metrics can support estimated showback, but they are not invoice-grade Cost Management records, and per-share dimensions are not available for every Azure Files billing/model combination. - https://learn.microsoft.com/en-us/azure/storage/files/analyze-files-metrics, https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/storage/files/storage-files-monitoring-reference.md
I hope this is helpful. Please! Do not hesitate to let me know if you have any other questions, steps or clarifications.
Please do not close the thread by upvoting and accepting the answer if any part of it is helpful.