GitHub Issue: ADF Schedule Triggers fail to start — missing UTC zone designator in startTime
Title
InvalidWorkflowTriggerRecurrence error during deployment — ADF trigger startTime missing zone designator
Repository
https://github.com/microsoft/finops-toolkit
Issue Body
Describe the bug
FinOps Hub v14 fresh deployments fail at the Microsoft.FinOpsHubs.Init and Microsoft.FinOpsHubs.StartTriggers deployment script steps. The Init-DataFactory.ps1 script cannot start the ADF schedule triggers because the startTime values are missing the UTC zone designator (Z).
Error message
Microsoft.Rest.Azure.CloudException: HTTP Status Code: BadRequest
Error Code: BadRequest
Error Message: ErrorCode=InvalidWorkflowTriggerRecurrence,
ErrorMessage=The recurrence of trigger has an invalid start time
'2023-01-01T01:01:00.0000000' zone designator for time zone 'UTC'.
Expected start time format with zone designator is 'yyyy-MM-ddTHH:mm:ssZ'.
Affected triggers
| Trigger Name |
Current startTime (broken) |
Expected startTime |
config_DailySchedule |
2023-01-01T01:01:00 |
2023-01-01T01:01:00Z |
config_MonthlySchedule |
2023-01-05T01:11:00 |
2023-01-05T01:11:00Z |
queries_DailySchedule |
2023-01-01T01:01:00 |
2023-01-01T01:01:00Z |
Steps to reproduce
- Deploy FinOps Hub v14 using the
finops-hub-latest.json ARM template (fresh deployment, not upgrade)
- Wait for the deployment to reach the
Microsoft.FinOpsHubs.Init step
- The
Init-DataFactory.ps1 script attempts to start the triggers
- Azure ADF rejects the trigger start due to invalid
startTime format
- The script retries 20 times, each time seeing "Trigger is Stopped, expected Started"
- Deployment fails
Expected behavior
The ADF schedule triggers should have startTime values with the UTC zone designator (Z suffix) so they can be started successfully during deployment.
Environment
- FinOps Toolkit version: v14 (April 2026)
- Template:
finops-hub-latest.json
- Deployment type: Fresh deployment (not upgrade)
- Regions tested: Sweden Central, Norway East
- Deployment method: Azure Portal ARM template deployment
Suggested fix
In the Bicep template(s) that define the ADF schedule triggers, append Z to the startTime values:
// Before (broken)
startTime: '2023-01-01T01:01:00'
// After (fixed)
startTime: '2023-01-01T01:01:00Z'
Workaround
After deployment fails, manually update the trigger startTime values via Azure CLI:
$rg = "<resource-group>"
$adf = "<data-factory-name>"
az datafactory trigger update --resource-group $rg --factory-name $adf `
--name "config_DailySchedule" `
--set "properties.recurrence.startTime=2023-01-01T01:01:00Z"
az datafactory trigger update --resource-group $rg --factory-name $adf `
--name "config_MonthlySchedule" `
--set "properties.recurrence.startTime=2023-01-05T01:11:00Z"
az datafactory trigger update --resource-group $rg --factory-name $adf `
--name "queries_DailySchedule" `
--set "properties.recurrence.startTime=2023-01-01T01:01:00Z"
Then start all triggers manually:
$triggers = @("queries_DailySchedule", "msexports_ManifestAdded", "config_SettingsUpdated",
"config_DailySchedule", "config_MonthlySchedule", "ingestion_ManifestAdded")
foreach ($t in $triggers) {
az datafactory trigger start --resource-group $rg --factory-name $adf --name $t -o none
}
Additional context
- Reproduced independently on two separate tenants/subscriptions with fresh v14 deployments
- The v14 release notes mention fixing "US Government cloud time zone deployment failures" — this may be a related regression
- Upgrades from v13 may not hit this issue if triggers were already started with valid
startTime values from a previous version
Labels
bug, hubs
GitHub Issue: ADF Schedule Triggers fail to start — missing UTC zone designator in startTime
Title
InvalidWorkflowTriggerRecurrenceerror during deployment — ADF triggerstartTimemissing zone designatorRepository
https://github.com/microsoft/finops-toolkit
Issue Body
Describe the bug
FinOps Hub v14 fresh deployments fail at the
Microsoft.FinOpsHubs.InitandMicrosoft.FinOpsHubs.StartTriggersdeployment script steps. TheInit-DataFactory.ps1script cannot start the ADF schedule triggers because thestartTimevalues are missing the UTC zone designator (Z).Error message
Affected triggers
config_DailySchedule2023-01-01T01:01:002023-01-01T01:01:00Zconfig_MonthlySchedule2023-01-05T01:11:002023-01-05T01:11:00Zqueries_DailySchedule2023-01-01T01:01:002023-01-01T01:01:00ZSteps to reproduce
finops-hub-latest.jsonARM template (fresh deployment, not upgrade)Microsoft.FinOpsHubs.InitstepInit-DataFactory.ps1script attempts to start the triggersstartTimeformatExpected behavior
The ADF schedule triggers should have
startTimevalues with the UTC zone designator (Zsuffix) so they can be started successfully during deployment.Environment
finops-hub-latest.jsonSuggested fix
In the Bicep template(s) that define the ADF schedule triggers, append
Zto thestartTimevalues:Workaround
After deployment fails, manually update the trigger
startTimevalues via Azure CLI:Then start all triggers manually:
Additional context
startTimevalues from a previous versionLabels
bug,hubs