At Build 2025, Microsoft announced Announcing Native Azure Functions Support in Azure Container Apps.
We already can do this: That is create a Function App in Container Apps Environment using az functionapp create.
az functionapp create `
--name ${APP_NAME} `
--resource-group ${RESOURCE_GROUP} `
--environment ${ENVIRONMENT} `
--image ${IMAGE} `
--registry-server ${REGISTRY_SERVER} `
--registry-username ${REGISTRY_USERNAME} `
--registry-password ${REGISTRY_PASSWORD} `
--max-replicas 10 `
--min-replicas 1 `
--storage-account ${STORAGE_ACCOUNT}
With the new announcement, we can now do this.
az containerapp create `
--name ${APP_NAME} `
--resource-group ${RESOURCE_GROUP} `
--environment ${ENVIRONMENT} `
--kind functionapp ` # Create a Function App in Azure Container Apps
--image ${IMAGE} `
--registry-server ${REGISTRY_SERVER} `
--registry-username ${REGISTRY_USERNAME} `
--registry-password ${REGISTRY_PASSWORD} `
--ingress external `
--target-port 80
Notice the --kind functionapp.
I have created these two container apps for testing:
Function Apps in Container Apps Environment |
Happy Coding.