Resolving Error in Azure Function with Extension Bundle

In one of our Azure projects, during the development phase, while writing the files into Azure blob storage in Visual Studio Code, we faced the below error:

The root cause of the error: “Error fetching version information for extension bundle Microsoft.Azure.Functions.ExtensionBundle Unable to find or download”.

Solution:

“Extension Bundles” can add a pre-defined compatible set of binding extensions to the function app. Extension bundles are always versioned. Each version contains a specific set of binding extensions verified to work together.

When you create a non-.NET Function project for tooling or in the portal, the extension bundles are already enabled in the app’s host.json file.

An extension bundle reference is defined by the extensionBundle section in a host.json as follows:

{

    “version”: “2.0”,

    “extensionBundle”: {

        “id”: “Microsoft.Azure.Functions.ExtensionBundle”,

        “version”: “[3.3.0, 4.0.0)”

    }

}

Step1:

Remove the above code from host.json file

Step2:

After removing the extension bundle code from host.json, run the below commands for installing Microsoft.Azure.Functions.ExtensionBundle and Microsoft.Azure.WebJobs.Extensions.Storage.

func extensions install –package Microsoft.Azure.Functions.ExtensionBundle –version 4.0.0 –force

func extensions install –package Microsoft.Azure.WebJobs.Extensions.Storage –version 4.0.4 –force

“TekLink provided worry free BEx to AO Migration by analyzing and converting our 500+ BEx workbooks to Analysis for Office while also increasing adoption by running power user workshops.”
Lakshmi Thota
Lakshmi Thota

Sr. Manager

"We partnered with TekLink based upon a previous positive experience where they did a great job for us as well as hearing positive feedback about their excellent level of service. We’ve also interviewed many of their experts and consistently found their candidates to be the most technically sound with excellent BW and HANA knowledge above and beyond that of their competitors. Teklink has certainly helped us to stabilize and improve the reliability of our BI operations."
Francisco Ibarra
Francisco Ibarra

IT Architect

"We partnered with TekLink based upon a previous positive experience where they did a great job for us as well as hearing positive feedback about their excellent level of service. We’ve also interviewed many of their experts and consistently found their candidates to be the most technically sound with excellent BW and HANA knowledge above and beyond that of their competitors. Teklink has certainly helped us to stabilize and improve the reliability of our BI operations."
Patrick Bachman
Patrick Bachman

IT Architect

Contact Us