Azure / Azure/Azure-Functions

Functions V4 - Require a minimum version for supported extensions

Open
#2,399 4 comments 1 reaction 1 assignee Claimed by @bhagyshricompany View on GitHub
Needs: Attention :wave:
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

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.

![image](https://github.com/Azure/Azure-Functions/assets/142376995/08719cb1-28fd-4414-b3d4-80681602dfcb)

> 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.

![image](https://github.com/Azure/Azure-Functions/assets/142376995/8625a874-3746-4564-842f-171f80524dbb)

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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.