If your Azure cost exports aren’t generating files as expected, the issue is typically related to permissions, misconfiguration, or delays in Azure’s export processing. Here’s how to troubleshoot the most common problems.
📁 1. No Export File Generated
If more than 24 hours have passed since setup and no file appears in your Storage Account:
- Go to Cost Management > Exports in the Azure Portal.
- Select your export and check the Run History for error messages.
🔐 Unauthorized Error
Issue: The export couldn’t assign permissions to the managed identity.
Fix:
- Ensure the export creator has the Owner role on the storage account (see [Guide #6]).
- Verify “Allow trusted Azure services” is enabled in the storage network settings.
- Re-create or update the export after fixing permissions.
🚫 NotFound or 404 Error
Issue: The specified Storage Account or container doesn’t exist or is misnamed.
Fix:
- Double-check storage and container names.
- If needed, delete and recreate the export with the correct info.
⚠️ 500 or 503 Errors
Issue: Transient Azure service issue.
Fix:
- Wait and retry. Azure suggests waiting 1 hour before retrying.
- Azure may retry the export automatically.
🔄 2. Export Was Working, Then Stopped
- Check if the export was disabled in the Azure Portal.
- If so, select it and click Enable or Resume.
- Review Storage Account settings:
- Has a firewall or network restriction been added?
- Was the storage account renamed or moved?
- Confirm:
- “Allow trusted Azure services” is still enabled.
- Storage keys or SAS tokens haven’t been rotated (if used manually).
📆 3. Data Missing for Specific Days or Seems Incomplete
- Azure cost data updates periodically, and some charges (like marketplace or reserved instances) may appear a day or two later.
- If a day’s file is missing:
- Use “Export selected dates” to backfill it (see [Guide #12]).
- If the export fails but the Cost Analysis blade shows data, re-create the export or file a support request.
🧾 4. File Format or Data Issues
Issue: CSV opens with garbled or unreadable characters.
Fix:
- In Excel, go to Data > Get External Data and set the file origin to Unicode (UTF-8).
- Avoid opening CSVs directly by double-clicking—Excel may apply the wrong encoding.
⏰ 5. Export Timing and Freshness
- Daily exports don’t run at a fixed time.
- Azure controls the export schedule and timing can vary day to day.
- Expect the data to appear within 4 hours of when the export job starts.
🛠️ 6. Final Steps if Issues Persist
- Delete and re-create the export job—this can resolve issues tied to outdated configurations.
- If all else fails, open an Azure support request with the Cost Management team.
✅ Tip: Re-check permissions and storage settings any time exports are failing—most issues are caused by either permission misalignment or storage changes post-setup.