An Azure service that provides an event-driven serverless compute platform.
Blob trigger function is not getting fired automatically when there is a change in blob. It gets triggered when Log stream is started
Blob trigger function is not getting fired automatically when there is a change in blob. It gets triggered when Log stream is started. It shows in running status. Please let me know if more information is needed
Azure Functions
-
MayankBargali-MSFT • 71,016 Reputation points • Moderator2023-11-22T01:57:48.22+00:00 @Sachin Mandal Thanks for reaching out.
Can you please confirm if you see any runtime error/exception for your function in application insights logs?
Have you looked into the diagnose and solve problem to review why your blob triggered was not getting fired?
-
Sachin Mandal • 0 Reputation points
2023-11-22T04:40:42.3633333+00:00 - @MayankBargali-MSFT - Thanks prompt reply. I have added logs to check exception, but I cannot see any exception. Also blob trigger function works fine when from Azure portal I start log stream option. So is there something when it is idle for long time (i.e. no blob file added) it goes to sleep mode as when I upload file and wait for function to trigger but it does not get triggered automatically However as soon, I click on Log stream option of that Azure function in Azure portal blob gets triggered.
-
MayankBargali-MSFT • 71,016 Reputation points • Moderator2023-11-22T10:26:06.0466667+00:00 @Sachin Mandal Thanks for more information.
In ideal scenario this is not the expected behavior but I do similar issue here. Can you please confirm if the storage account that you have configured is v2? This would need to troubleshoot from backend to review why the function is not getting triggered and I will suggest you to create a support request to review it further.
In case if you don't have the support plan then please let me know.
-
Sachin Mandal • 0 Reputation points
2023-11-27T11:32:09.4133333+00:00 - @MayankBargali-MSFT Yes storage is configured V2 and LRS. Also, I don't have support plan.
-
MayankBargali-MSFT • 71,016 Reputation points • Moderator2023-11-28T09:07:29.6166667+00:00 @Sachin Mandal Please send an email with subject line “Attn:Mayank” to AzCommunity[at]Microsoft[dot]com referencing this thread along with your subscription ID so I can enable one time support request on your subscription.
-
Sachin Mandal • 0 Reputation points
2023-11-28T09:48:52.82+00:00 - @MayankBargali-MSFT Adding step wise log screenshot for you to understand issue -
Step 1 - Screenshot taken of invocation screen around 1.30 PM which show last invocation happened around 1.10 PM.
Step 2- I have uploaded Blob file around 1.37 PM.
Step 3 - I waited for more than 1hr but Blob was not triggered and taken invocation log screenshot around 2.47 PM .
Step 4 - Then I clicked on Log Steam tab and log started around 2.50 PM which you can see highlighted in yellow.
Step 5 - Once log stream started Blob was trigged and output is generated. In this function I am converting data from bin file to csv and as you can see from below screenshots invocation happened post log steam and required output is also generated.
-
Sachin Mandal • 0 Reputation points
2023-12-04T11:59:08.13+00:00 - @MayankBargali-MSFT Please share your email id.
-
MayankBargali-MSFT • 71,016 Reputation points • Moderator2023-12-04T12:30:12.5733333+00:00 @Sachin Mandal Please send an email with subject line “Attn:Mayank” to AzCommunity[at]Microsoft[dot]com referencing this thread along with your subscription ID so I can enable one time support request on your subscription.
Report a concern
-
Sachin Mandal • 0 Reputation points
2023-12-05T10:20:55.9366667+00:00 Mail not getting delivered to azcommunity@microsoft.com
-
Sachin Mandal • 0 Reputation points
2023-12-05T10:21:35.0533333+00:00 @MayankBargali-MSFT Mail not getting delivered to azcommunity@microsoft.com
-
MayankBargali-MSFT • 71,016 Reputation points • Moderator2023-12-06T06:14:41.27+00:00 @Sachin Mandal I have received your email and responded. Please review it.
Sign in to comment