Forum Discussion

Wim_Kestens's avatar
Wim_Kestens
Copper Contributor
Feb 28, 2023

Bicep : The provided time T09:00:28Z does not follow the ISO 8601 standard.

Error: New-AzResourceGroupDeployment: 10:18:37 - The deployment 'avd' failed with error(s). Showing 1 out of 1 error(s). Status Message: The provided time T09:00:28Z does not follow the ISO 8601 st...
  • Wim_Kestens's avatar
    Wim_Kestens
    Mar 02, 2023

    Robina 

     

    Herewith my code that works.

    Thanks for your assistance.

     

    resource shutdownSchedule_1 'Microsoft.DevTestLab/schedules@2018-09-15' = {
      name: 'shutdown-computevm-vmjump01'
      location: param_location
      properties: {
        status: 'Enabled'
        taskType: 'ComputeVmShutdownTask'
        dailyRecurrence: {
          time: '16:00'
        }
        timeZoneId: 'Central Europe Standard Time'
        targetResourceId: p_vm1_id
      }
    }

Resources