Azure doesn’t currently let you fully edit an existing Cost Management export in the portal—especially not the storage account or container. To change export settings, you’ll need to recreate or update the export using one of the following methods.
🔁 Option 1: Create a New Export with New Settings (Recommended)
- In the Azure Portal, go to Cost Management > Exports.
- Click + Add to create a new export.
- Use the same dataset, schedule, and scope as the old export.
- Specify the new storage account, container, or directory path as needed.
- Click Create.
✅ Once the new export is working:
- Return to the exports list and Disable or Delete the old export.
- Azure allows up to 10 exports per scope, so temporary overlap is fine.
💻 Option 2: Use the Exports REST API (Advanced)
- Use the Cost Management Exports REST API to:
GET
the current export definition- Modify the storageAccountId or container in the JSON
PUT
the updated export back (include the latesteTag
)
- Confirm the change in the portal.
⚠️ Notes:
- Requires Owner permissions and careful editing.
- API updates won’t work across tenants or with incompatible firewalled storage.
- Use this option only if you’re comfortable with REST API and JSON structures.
✏️ Option 3: Edit Minor Settings in the Portal
Some fields (like time range or triggering an export) can be updated:
- In Cost Management > Exports, select the export.
- Click:
- Export selected dates – to run a one-time export
- Run now – to manually trigger an export
To change the export frequency (e.g., from daily to monthly), re-create the export using Option 1.
🔐 Changing to a Firewalled Storage Account
If the change is due to enabling firewall restrictions:
- Follow [Guide #25] to ensure firewall and permission settings are correct.
- You must create a new export pointing to the firewalled account (UI does not support switching existing exports to a new storage target).
✅ After Changing the Configuration
- Monitor the run history and storage container to verify files are being written.
- Once confirmed, delete or disable the old export to avoid duplicates and stay under export limits.
💡 Summary:
Since most export settings are fixed after creation, the easiest and safest way to change configurations is to create a new export, verify it works, and clean up the old one afterward.