Functions V4 - Require a minimum version for supported extensions
Hello @paulbatum
I experience a similar issue as @heavenwing has. I upgraded an azure function to v4 and currently receive the following error in Azure Portal.
Microsoft.Azure.WebJobs.Script.ExternalStartupException : Error building configuration in an external startup class. ---> Microsoft.Azure.WebJobs.Script.HostInitializationException : One or more loaded extensions do not meet the minimum requirements. For more information see https://aka.ms/func-min-extension-versions. ExtensionStartupType AzureStorageWebJobsStartup from assembly 'Microsoft.Azure.WebJobs.Extensions.Storage, Version=3.0.11.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not meet the required minimum version of 4.0.4.0. Update your NuGet package reference for Microsoft.Azure.WebJobs.Extensions.Storage to 4.0.4 or later
I have applied some changes, such as applying the WEBSITE_RUN_FROM_PACKAGE = 1 in the config of the Azure function and updating to CICD pipeline to deploy as runFromPackage.
Also I added the package Microsoft.Azure.WebJobs.Extensions.Storage to the project, however still receiving the above error.
Interestingly I can see the my queue or time triggered function have been executed.
Originally posted by @goanwied in https://github.com/Azure/Azure-Functions/issues/1987#issuecomment-1679984368
Thanks for reporting @fabiocav pls comment
Have the same error upgrading from v3 to v4. in .net 7. Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. Grpc.AspNetCore.Server: Could not load file or assembly 'Microsoft.AspNetCore.Routing, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
I have the same error after upgrading my packages and upgrading from runtime 3 to 4. I then removed the <PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="5.2.1" /> from my project and still same error.
Microsoft.Azure.WebJobs.Script.ExternalStartupException : Error building configuration in an external startup class. ---> Microsoft.Azure.WebJobs.Script.HostInitializationException : One or more loaded extensions do not meet the minimum requirements. For more information see https://aka.ms/func-min-extension-versions. ExtensionStartupType AzureStorageWebJobsStartup from assembly 'Microsoft.Azure.WebJobs.Extensions.Storage
Hey all,
I've just had the same error as @goanwied and the final comment on this issue has solved it: https://github.com/Azure/Azure-Functions/issues/1987