Closed LxLeChat closed 5 years ago
@LxLeChat In commit https://github.com/poshbotio/PoshBot/commit/10196455de817997af37f2879ed79d9bb6b881d5 I updated the Teams setup doc to include a section on making sure the Azure Function is v1.
This is also reflected in RTD. http://docs.poshbot.io/en/latest/guides/backends/setup-teams-backend/#azure-function
Update Help - Problem regaring the Teams Backend Help
Context
I was trying to create a Teams Backend, following your documentation. Everything was working fine, until the "Azure Function App" part. The creation did work, but as i was naviguating inside the azure portal to the newly created function, an error was showing with the following message :
As you explained to me, the issue is because, az cli, now create azure function in version 2 by default.
Maybe you need, to integrate this line
az functionapp config appsettings set --name <function_app> --resource-group <my_resource_group> --settings FUNCTIONS_EXTENSION_VERSION="~1"
or maybe it's possible to directly pass thisFUNCTIONS_EXTENSION_VERSION
parameter directly at the creation of function app.Thank you again!