@Anon4343 Thanks for reaching out to the Microsoft Q&A forum. I understand that you want to update a particular extension of an Azure Function.
There are multiple ways you can update your function extension.
- Updating from Azure Portal
- Updating via Visual Studio.
- Updating function core tools (CLI)
The above approach is covered in below article. So could you please follow the below article for updating the function app extension and check if that helps ?
https://github.com/Azure/azure-functions-host/wiki/Updating-your-function-app-extensions
I see that you have mentioned about updating the host.json
, I hope you have added the right version within your host.json as explained here. If you want to explicitly install the extension follow ***[this article](https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-use-azure-function-app-settings?tabs=portal#manually-install-extensions().
You can also navigate to the Function App portal and Select Extensions under Development Tools section and check for the extensions update:
You may also need to restart your function app to ensure that the updated extension is loaded.
On a side note, If you want to update the Function App runtime version itself, then you can do through Azure CLI:
az functionapp config appsettings set --name <FUNCTION_APP> \
--resource-group <RESOURCE_GROUP> \
--settings FUNCTIONS_EXTENSION_VERSION=<VERSION>
After following all the above suggestions, if you still face the same issue, please share the detailed error message here, so that we can assist you better.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.