To run and deploy both locally and in the cloud, Azure Logic Apps Standard requires the Azure Functions runtime as a prerequisite. We've now enabled support for Functions v4 to provide customers transition time before support for Functions v3 ends in late 2022. New Standard logic app workflows now target the v4 runtime, and existing apps will be automatically upgraded.
Note: This upgrade is designed to have no runtime impact and requires no customer action unless you pinned your logic app to a specific bundle version, or if you deployed your logic app as a NuGet-based project. For how to upgrade, see the later sections in this article.
Visual Studio Code extension support for Azure Functions V4 will be available by end of November 2022.
We'll gradually upgrade existing logic apps, but if you want test the v4 runtime now, you can change your Standard logic app resource's FUNCTIONS_EXTENSION_VERSION app setting.
If you pinned your Standard logic app to a specific bundle version, Functions v4 won't work because support was added to version 1.2.13 and later.
If you deployed your Standard logic app as a NuGet-based project, you must redeploy with the Microsoft.Azure.Workflows.WebJobs.Extension NuGet package, version 1.2.12 or later. Also make sure your set the TargetFraemwork to net6.0, AzureFunctionsVersion to v4. Here is a sample csproj file.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
<MSBuildWarningsAsMessages>MSB3246;$(MSBuildWarningsAsMessages)</MSBuildWarningsAsMessages>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.13"/>
</ItemGroup>
<ItemGroup>
<None Update="host.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="local.settings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Workflows.WebJobs.Extension" Version="1.2.*"/>
</ItemGroup>
<ItemGroup>
<None Update="Stateful1\**\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Update="Artifacts\**\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
If your ARM template deployment includes the app setting named FUNCTIONS_EXTENSION_VERSION, WEBSITE_NODE_DEFAULT_VERSION and FUNCTIONS_V2_COMPATIBILITY_MODE are updated to the values specified above. Otherwise, your deployments will still point to Azure Functions v3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.