azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

"az logicapp create" doesn't support functions 4.x runtime

Open nobuko-yamada opened this issue 3 years ago • 8 comments

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Following this URL: https://learn.microsoft.com/ja-jp/cli/azure/logicapp?view=azure-cli-latest#az-logicapp-create az logicapp create --name --resource-group --storage-account e.g. az logicapp create --name mytestappsstd --resource-group playground --storage-account playground84c9 In this case, mytestappsstd is new Logic Apps Standard's name. playground and playground84c9 was my existing resource group and storage account.

Describe the bug

Deploy was succeed but some of configuration parameter is missing. image ("Update to Functions 4.x runtime")

All of the parameter appeared first was below. image

Because functions runtime is also 3, I changed manually by following this announcement. https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/azure-logic-apps-standard-now-supports-azure-functions-v4/ba-p/3656072

To Reproduce

Run command. az logicapp create --name --resource-group --storage-account In my case, my resource group was located at 'east asia'

Expected behavior

Configuration should be filled without maintaining manually for 4.x runtime.

Environment summary

C:\Users\nobukoyamada>az --version
azure-cli                         2.42.0 *

core                              2.42.0 *
telemetry                          1.0.8

Extensions:
logic                              0.1.6
ssh                                1.1.3

Dependencies:
msal                              1.20.0
azure-mgmt-resource             21.1.0b1

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\nobukoyamada\.azure\cliextensions'

Python (Windows) 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:37:59) [MSC v.1933 32 bit (Intel)]

Additional context

I'm support engineer in Japan. alias: nobukoyamada

nobuko-yamada avatar Mar 15 '23 06:03 nobuko-yamada

Hi @nobuko-yamada,

2.42.0 is not the latest Azure CLI(2.46.0).

Please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

Updated my CLI but still there is same message. image

C:\Users\nobukoyamada>az --version
azure-cli                         2.46.0

core                              2.46.0
telemetry                          1.0.8

Extensions:
logic                              0.1.6
ssh                                1.1.3

Dependencies:
msal                              1.20.0
azure-mgmt-resource             21.1.0b1

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\nobukoyamada\.azure\cliextensions'

Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal


Your CLI is up-to-date.

I hope this information can be the help!

nobuko-yamada avatar Mar 15 '23 08:03 nobuko-yamada

route to CXP team

yonzhan avatar Mar 15 '23 09:03 yonzhan

We are working on fix for this. Meanwhile please manually reset the version in the app settings under the "Configurations" blade from portal by setting this property to version ~4

"FUNCTIONS_EXTENSION_VERSION" : "~4"

DevArjun23 avatar Mar 16 '23 19:03 DevArjun23

manually reset the version in the app settings under the "Configurations" blade from portal by setting this property to version ~4 "FUNCTIONS_EXTENSION_VERSION" : "~4"

Thank you! Got it.

nobuko-yamada avatar Mar 19 '23 23:03 nobuko-yamada

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.

Issue Details

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Following this URL: https://learn.microsoft.com/ja-jp/cli/azure/logicapp?view=azure-cli-latest#az-logicapp-create az logicapp create --name --resource-group --storage-account e.g. az logicapp create --name mytestappsstd --resource-group playground --storage-account playground84c9 In this case, mytestappsstd is new Logic Apps Standard's name. playground and playground84c9 was my existing resource group and storage account.

Describe the bug

Deploy was succeed but some of configuration parameter is missing. image ("Update to Functions 4.x runtime")

All of the parameter appeared first was below. image

Because functions runtime is also 3, I changed manually by following this announcement. https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/azure-logic-apps-standard-now-supports-azure-functions-v4/ba-p/3656072

To Reproduce

Run command. az logicapp create --name --resource-group --storage-account In my case, my resource group was located at 'east asia'

Expected behavior

Configuration should be filled without maintaining manually for 4.x runtime.

Environment summary

C:\Users\nobukoyamada>az --version
azure-cli                         2.42.0 *

core                              2.42.0 *
telemetry                          1.0.8

Extensions:
logic                              0.1.6
ssh                                1.1.3

Dependencies:
msal                              1.20.0
azure-mgmt-resource             21.1.0b1

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\nobukoyamada\.azure\cliextensions'

Python (Windows) 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:37:59) [MSC v.1933 32 bit (Intel)]

Additional context

I'm support engineer in Japan. alias: nobukoyamada

Author: nobuko-yamada
Assignees: jiasli, archidda
Labels:

bug, Service Attention, App Services, Logic App, customer-reported, Installation, Client, Auto-Assign

Milestone: Backlog

ghost avatar Mar 24 '23 22:03 ghost

Hi, @nobuko-yamada

A workaround is setting the v4 version after the az logicapp create, like such:

az logicapp config appsettings set -n laName -g rgName --settings "FUNCTIONS_EXTENSION_VERSION=~v4"

As referred to in the documentation

mirzaciri avatar Aug 06 '23 18:08 mirzaciri