How to check Azure Function runtime version

Let us learn the quick steps to check Azure Function version in Azure Portal.

How to check Azure Function version

An Azure Function App always runs on a particular runtime version. Below are the three function runtime version in Azure as of now

  • 1.x
  • 2.x
  • 3.x

3.x run time version of the Azure Function is the default version as of now. These are known as the major versions of the Azure Functions.

Azure Function targets a specific Azure function runtime version by using the FUNCTIONS_EXTENSION_VERSION application setting in a function app. Each major version of the Azure Function has a FUNCTIONS_EXTENSION_VERSION value i.e. for the Azure Function major version 3.x, the value for this is ~3.

Similarly, for the Azure Function major version 2.x, the FUNCTIONS_EXTENSION_VERSION value for this is ~2 and for the Azure Function major version 1.x, the FUNCTIONS_EXTENSION_VERSION value for this is ~1.

Well, now we will discuss how to change the Azure Functions run time version In Azure Portal. You can follow the steps below to check your Azure Function’s Run time version.

  1. Log in to the Azure Portal (https://portal.azure.com/)
  2. Once you are logged in to the Azure Portal, navigate to the Azure function App for the one you want to verify the Run time version.
  3. On the Azure Function App page, click on the Configuration option from the left navigation under the Settings option. Then click on the Function runtime settings tab from the right side window. You can see the Azure Function Runtime version as highlighted below.
how to check azure function runtime version

~3 is the default runtime version as of now. If you want to change it, you can change it to ~2 or ~1 as required.

how to check azure function version in visual studio

You can select the appropriate version to change the run time to ~2 or ~1. For example, if you want to change the run time version to ~1, select the same, specify the Daily Usage Quota (GB-Sec) option, and click the Save button to save the changes.

check azure function runtime version

Now, on the next window, click on the Continue button to save the updated changes

how to check runtime stack in azure function app

Now, the next step is to make sure to Restart the Azure Function App by clicking on the Restart Button on the Azure Function App Overview tab, as highlighted below

azure function runtime version

Note: An important note here is, You can’t change the runtime version of the Azure Function App using the Azure Portal if the Azure Function App already contains Functions.

You may also like following the articles below

Conclusion

This is how to check the Azure Functions Run Time Version in the Azure Portal. Thanks for reading this article !!!