Why was the TeamsFX AzFunc Extension removed from the templates? #12013
Unanswered
andrewconnell
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@andrewconnell The major functionality in the TeamsFx Azure Function extension has be consolidated into latest Azure Function. So you no longer need to include the binding in your project, which also reduces the requirement of dotnet during development. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Previously (late 2023), the Azure Function included in the Tab > React with Fluent UI template included the TeamsFx Azure Function extension... but in the latest templates for TypeScript, it's gone. Why? It's no longer using the TeamsFxContext input binding that was there (and was so useful).
The Azure Function in the template seems to have outdated documentation (looks like it still references Azure Functions v3 when it's clear it's switched to the v4 format) so it's hard to understand how to add the binding, but all the environment variables (
M365_CLIENT_ID
,M365_CLIENT_SECRET
,M365_TENANT_ID
,M365_AUTHORITY_HOST
,ALLOWED_APP_IDS
) used by the extension and binding are still added to the config... so are they still used if the extension isn't installed?This is very confusing... it looks like the Azure Function has been sort of upgraded, but the job wasn't finished and the extension was intended to be removed, but things weren't fully updated...
Beta Was this translation helpful? Give feedback.
All reactions