Open mattchenderson opened 2 hours ago
Hi @mattchenderson,
2.65.0 is not the latest Azure CLI(2.66.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.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AnatoliB, @Francisco-Gamino, @shreyabatra4.
route to service team
Describe the bug
When using the Flex Consumption SKU, some commands get an error message citing an API version issue. An example of this is when assigning a user-assigned identity to the function app (either during creation or after creation).
This seems like it should work for any command which does a GET-modify-PUT loop from the App Service / Functions commands. It does not impact specific Flex Consumption commands, presumably because they use an alternative path. The issue seems to be for shared commands.
Related command
az functionapp identity assign --resource-group <groupName> --identities <uami> --name <appName>--debug
Errors
Issue script & Debug output
Truncated to relevant response content:
Expected behavior
The command should complete without errors as it does for other SKUs.
Environment Summary
This was originally found using Cloud Shell (below), but seems to also reproduce on 2.66.
Additional context
I believe this to be rooted in the version of azure-mgmt-web being referenced. The current version is 7.2.0 (from 2023-11-19). The latest version is 7.3.1 (from 2024-08-19). With the newer version, the default version will move to 2024-04-01, which should be tolerated.