Update-AzCostManagementExport: Invalid request payload, Invalid member :properties.schedule.recurrence #27730
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Cost Management - UsageDetailsAndExport
All issues in cost management and Consumption for usage details api and export
Service Attention
This issue is responsible by Azure service team.
Description
I have a cost export working until around May 6th, that when using Update-AzCostManagementExport to update its start and end time it throws error
Invalid request payload, Invalid member :properties.schedule.recurrence
Cmd tried:
Update-AzCostManagementExport -Scope "/subscriptions/$azSubId" -Name $exportName -TimePeriodFrom $startDate -TimePeriodTo $endDate -DefinitionTimeframe "Custom" -ScheduleStatus "InActive" -Format "CSV" -DefinitionType "Usage" -DatasetGranularity "Daily" -RecurrencePeriodTo (Get-Date) -RecurrencePeriodFrom (Get-Date) -ErrorAction Stop
Update-AzCostManagementExport -Scope "/subscriptions/$azSubId" -Name $exportName -TimePeriodFrom $startDate -TimePeriodTo $endDate -DefinitionTimeframe "Custom" -ScheduleStatus "InActive" -Format "CSV" -DefinitionType "Usage" -DatasetGranularity "Daily" -ErrorAction Stop
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: