Bicep Version
I attempted to use three different versions, but none were successful:
2022-09-01 (latest)
2021-01-01 (mid)
2020-10-01 (oldest)
Bug Description
Encountered a problem with updating the branch in a Microsoft.Web/sites/sourcecontrols deployment. The expected outcome is for the App Service to deploy code from the newly set branch after redeployment. However, the App Service continues to deploy code from the original branch.
Steps to Reproduce
Perform the initial deployment using Microsoft.Web/sites/sourcecontrols with the following Bicep script:
After the first deployment, re-run the same Microsoft.Web/sites/sourcecontrols deployment. Change the branch value to main (or any other branch different from the first deployment).
Bicep Version I attempted to use three different versions, but none were successful:
2022-09-01
(latest)2021-01-01
(mid)2020-10-01
(oldest)Bug Description Encountered a problem with updating the branch in a
Microsoft.Web/sites/sourcecontrols
deployment. The expected outcome is for the App Service to deploy code from the newly set branch after redeployment. However, the App Service continues to deploy code from the original branch.Steps to Reproduce
Microsoft.Web/sites/sourcecontrols
with the following Bicep script:Microsoft.Web/sites/sourcecontrols
deployment. Change thebranch
value tomain
(or any other branch different from the first deployment).Expected Behavior
Actual Behavior