Skip to content

New-AzResourceGroupDeployment changes Time field value  #15785

@MayankBargali-MSFT

Description

@MayankBargali-MSFT

While deploying the ARM template using Templates option in Azure portal the logic app is created successfully and I can see that the timeZone and startTime is correctly set to my recurrence trigger.

But when I deploy the same template using New-AzResourceGroupDeployment command then I observe that it adds Z at the end of the startTime parameter despite the ARM template doesn’t have Z added to the startTime value.

New-AzResourceGroupDeployment
-Name LOGIC_APP_NAME
-ResourceGroupName RESOURCE_GROUP
-Mode Incremental
-TemplateFile "C:\Users\USER\Downloads\arm.txt"

As Z is added therefor the logic app does not take consider the timeZone option. Can you please confirm if this is issue with the New-AzResourceGroupDeployment as the same template works when deploying ARM template using portal option

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions