Open michalczerwinski opened 1 month ago
Hi @michalczerwinski,
2.49.0 is not the latest Azure CLI(2.61.0).
If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
Thank you for opening this issue, we will look into it.
I confirmed it's still there in Azure CLI(2.61.0)
I confirmed this also in the most recent env:
2024-05-24T06:35:16.1777743Z { 2024-05-24T06:35:16.2222204Z "azure-cli": "2.61.0", 2024-05-24T06:35:16.2252054Z "azure-cli-core": "2.61.0", 2024-05-24T06:35:16.2274698Z "azure-cli-telemetry": "1.1.0", 2024-05-24T06:35:16.2335048Z "extensions": { 2024-05-24T06:35:16.2364363Z "automation": "1.0.0b1", 2024-05-24T06:35:16.2388851Z "azure-devops": "1.0.0" 2024-05-24T06:35:16.2413249Z } 2024-05-24T06:35:16.2456203Z }
Describe the bug
This bug is still there: https://www.oikita.com/en/azure/393208
It was reported in 2021 and combined with bicep inability to upload local file for runbook content is a real pain...
Related command
z automation runbook replace-content
Errors
On windows agents it uses only first line of the file
Issue script & Debug output
az automation runbook replace-content --automation-account-name "$environment-automation-account" --resource-group "$environment-din" --name "swap-main-server" --content "@$outputFile"
Expected behavior
Full content should be uploaded, not only first line
Environment Summary
azure-cli 2.49.0 *
core 2.49.0 telemetry 1.0.8
Extensions: automation 0.2.2 azure-devops 0.26.0 azure-iot 0.21.2 resource-graph 2.1.0 storage-preview 0.9.0
Dependencies: msal 1.20.0 azure-mgmt-resource 22.0.0
Additional context
No response