az functionapp config appsettings set fails with 'int' object is not iterable when large number of string separated settings. Works fine in V 2.39 but not V 2.40
See original GitHub issue
az feedback
auto-generates most of the information requested below, as of CLI version 2.40.0
Related command az functionapp config appsettings set --name $appServiceName --resource-group $resourceGroup --settings $settings --output none --slot $slotName
Describe the bug Fails with large number of space separated strings in the form of key=value. Even batching the settings into smaller chunks causes the same error after the first couple of batches are ran.
To Reproduce Run above command against a function app with a large number of settings and using key vault pointers for a number of them. Our service has 76 settings.
Expected behavior Should work. Use to work just fine in previous versions of the CLI.
Environment summary
Additional context
Issue Analytics
- State:
- Created a year ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Issue with ) when using Azure CLI to set Azure Function ...
P.S. I know I can do this both from Azure Portal, Visual Studio and VS Code but it's critical for me to do...
Read more >Release notes & updates – Azure CLI
Learn about the latest Azure Command-Line Interface (CLI) release notes and updates for both the current and beta versions of the CLI.
Read more >Int Object is Not Iterable – Python Error [Solved]
If you are running your Python code and you see the error “TypeError: 'int' object is not iterable”, it means you are trying...
Read more >int object is not iterable
From the above discussion, we are familiar with the error int object is not iterable arises whenever we iterate any integer value, which...
Read more >'int' object is not iterable in reclassifying raster using arcpy
I think you might need double brackets here: remap = RemapRange([[0,999,1]]). Because RemapRange expects a list of lists for the remapTable ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@santhoshtns there seems to be an issue here that exactly matches your scenario: https://github.com/Azure/azure-cli/issues/23890
Hi, we’re sending this friendly reminder because we haven’t heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don’t hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!