Open surashirishi opened 8 months ago
Thank you for opening this issue, we will look into it.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AnatoliB, @Francisco-Gamino, @shreyabatra4.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AnatoliB, @Francisco-Gamino, @shreyabatra4.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AnatoliB, @Francisco-Gamino, @shreyabatra4.
Describe the bug
The following command execution was failed due to "Parameter with name AzureFunctionsJobHostloggingLogLevel__Function already exists." error in Linux environment.
I think the expected behavior for this command should be idempotence regardless of whether the setting exists or not.. Regarding debug log, the request body sent to the ARM endpoint contained duplicate "AzureFunctionsJobHostloggingLogLevel__Function" setting so I belive that that seems to be the cause of the issue.
Related command
az functionapp config appsettings set --resource-group {resouceGroup} --name {name} --slot staging --slot-settings {file}
Errors
Parameter with name AzureFunctionsJobHostloggingLogLevel__Function already exists.
Issue script & Debug output
The request body sent to the ARM endpoint contained duplicate "AzureFunctionsJobHostloggingLogLevelFunction" even though setting file specified in command has only one "AzureFunctionsJobHostloggingLogLevelFunction".
Expected behavior
The expected behavior for this command should be idempotence and successful.
Environment Summary
This issue appear to be caused in Linux environment. The following environment has experienced the issue. AZURECLI/2.52.0 (RPM) azsdk-python-azure-mgmt-web/7.0.0 Python/3.9.7 (Linux-4.18.0-372.70.1.el8_6.x86_64-x86_64-with-glibc2.28)
Additional context
No response