Open
Description
- Azure Functions SQL Extension or Extension Bundle Version: 3.1.490
- Is this a deployed or local function: deployed
- What type of Database are you using? (Run
SELECT @@VERSION as Version, SERVERPROPERTY('EngineEdition') as EngineEdition
on your database): Microsoft SQL Azure (RTM) - 12.0.2000.8 Apr 9 2025 07:13:50 Copyright (C) 2024 Microsoft Corporation | 5 - List any custom settings for your function app. This could be a custom time-out defined specifically for your database server or optional configuration that can be customized for the app defined here.: none
Steps to Reproduce:
- Create new sql trigger function from Visual Studio
- Deploy to Flex Consumption
- Modify the data in the target table
- SqlTrigger function not triggered
I deployed a Function App that implements SqlTrigger to Flex Consumption and SqlTrigger is not triggered on table changes. I have confirmed that it works correctly when running Consumption or locally, but only does not work when deployed to Flex Consumption.
When deployed to Flex Consumption, lease-related tables were not automatically created. This is a possible cause of this issue.