167 questions
0
votes
0
answers
28
views
Azure Blob Function monitoring the wrong container/account after CI/CD deploy
I have a system of three blob containers being monitored by three separate functions. All three are set up with YAML CI/CD pipelines in Azure Dev Ops, and these pipelines succeed with their releases. ...
1
vote
2
answers
90
views
How can I upload an image to Azure from an Azure Function with a BlobTrigger
I have an ASP.NET MVC project where I am uploading an image to Azure. It works - the image is uploaded correctly, I can download and see the content of the image, all is good.
I have a blob trigger ...
0
votes
1
answer
84
views
code using CloudBlockBlob from Microsoft.Azure.WebJobs.Extensions but I am getting many binding errors below
public async Task RunAsync(
[BlobTrigger("test/{name}", Connection = "CONN")]Stream incommingBlob,
string name, ILogger log,
[Blob("test/{name}", FileAccess....
0
votes
2
answers
106
views
Java Azure function fails to start with error "Azure.RequestFailedException : This request is not authorized.."
I have a java azure function with blob triggers. We are moving from connection string based
authentication to managed identity based authentication. Please find the azure function configs we have ...
0
votes
1
answer
160
views
Azure Function Blob Trigger using Python getting stuck while running at Host lock lease acquired by instance ID '000000000000000000000000055662B6' [closed]
I am new to azure functions.I have written in python
I am using blob Trigger but it gets stuck at
Host lock lease acquired by instance ID '000000000000000000000000055662B6'.
some forums say init.py is ...
2
votes
2
answers
283
views
How do I connect a Blob Trigger Azure Function to a storage account different the one in AzureWebJobsStorage app setting?
I am writing an Azure Function that needs to monitor a blob storage container and act on new blobs in that container.
The storage account that the blob container I'm monitoring is in is different than ...
0
votes
1
answer
602
views
Azure Function App Blob trigger using Managed Identity not working
In azure I have got a Function App deployed in a VNET, alongside a subnet containing a private endpoint connected to a Storage Account through private DNS zones (one for each of the storage types), ...
0
votes
1
answer
106
views
Is it possible to ensure an Azure Function executes only once in parallel?
I have the requirement to execute an Azure Function (let's call it OperationalFunction) only once in parallel. What I mean is the following:
I have two "entry point" functions:
I have a ...
0
votes
1
answer
64
views
Set a variable from the contents of a JSON blob that triggered a data factory pipeline
I have a data factory pipeline that is triggered by a create blob trigger. I need to parse the blob (JSON) and set a variable from the blob content that can be used downstream in the pipeline.
I've ...
2
votes
1
answer
327
views
Azure Functions: BlobTrigger only on new Blobs
I have a .NET Azure Function that has a BlobTrigger that I want to trigger on new blobs. My problem is that the function does not only trigger on newly added blobs, but also on all existing blobs that ...
0
votes
1
answer
142
views
Making BLOB storage trigger for Azure Function configurable in Settings
When I have a timer-triggered Azure Function (v4 - running on .NET 8, isolated worker model), I have to define a CRON expression for the schedule:
[Function(nameof(TimerFunction))]
public static void ...
1
vote
2
answers
530
views
" Microsoft.Azure.WebJobs.Script: Did not find functions with language [java]." Couldn't able to run function app Blob trigger in LOCAL using JAVA
**I am trying to run my function app Blob trigger in my local . installed core tools and host.json,local.settings.json are configured for local . got this error , here is my class and json files.**
...
0
votes
1
answer
448
views
Azure Function with Blob Trigger Running with InputStream but not with BlobClient Parameter
I'm trying to get a blob-triggered Azure Function to work. I got the samples to run, and am all set up with my local development AzureWebJobsStorage connection string set up to use Azurite. I am ...
0
votes
1
answer
211
views
Azure Blob Trigger Function not triggering once deployed
I have made a simple Azure Function with blob trigger. It is working fine in my development environment using Azure storage Explorer. However, when I created the function in Azure portal it is not ...
0
votes
2
answers
274
views
Getting "Azure.Storage.Queues: Value cannot be null" error on Azure function with blob trigger
I just want to test a simple Azure function with blob trigger but I get following error locally when I try to run/debug the Azure Function.
An unhandled exception has occurred. Host is shutting down.
...
1
vote
1
answer
1k
views
Managed Identity for Blob-Triggered Azure Function: "No such host is known"
I am getting the following errors in my Blob Triggered Azure Function App:
Azure.Core: No such host is known. (examplestorage.blob.core.windows.net:443). System.Net.Http: No such host is known. (...
0
votes
2
answers
455
views
Issue running and deploying Azure function since outage(MS_FUNCTION_LOGS 5,ScriptApplicationHostOptionsSetup,"","ScmRunFromPackage is empty
I am using Azure and trying to deploy a function to Azure function app, which reads in a file from blob storage when triggered, processes it and then returns the output as a csv. I am receiving an ...
0
votes
1
answer
722
views
Blob-triggered function works locally but not deployed (not invoked)
Got a function working locally, triggered when a file is dropped and now deploying to azure.
Function signature looks like this. Notice the binding expression.
This expression is attempting to pull a ...
0
votes
1
answer
54
views
Binding expression to read folder from config section?
What is wrong with my binding expression when trying to use a Blob triggered function?
[BlobTrigger("%CustomerABC:InboundFolder%/{name}", Connection = "AzureWebJobsStorage")]
...
0
votes
1
answer
398
views
Blob storage events for multiple files upload operation
I have a process that uploads multiple files to azure blob storage.
That storage raises events (either through storage trigger or event grid).
I need to be able to determine from events consumer ...
1
vote
1
answer
143
views
Azure Blob Trigger | request body format
I tried to trigger the Azure blob function through ADF and got the following error.
I have an issue with the structure of the request body format. could you please explain the format of the request ...
0
votes
1
answer
149
views
Azure Function Blob Trigger is not triggering
I am working on setting up an Azure Function with a Blob Storage trigger using Python. Despite following the documentation and ensuring my setup seems correct, the trigger is not firing when a new ...
0
votes
1
answer
298
views
Blob Trigger Azure Function is not triggering automatically for every file upload in the specified Azure Storage container
I have create Azure Function with Blob trigger on storage account but when I upload blob in storage account function is not triggering.
I have created environment variable with ConenctionString with ...
1
vote
1
answer
1k
views
.NET 8 Isolated Function triggered without running function code
I have recently created an Azure Function app (BlobTrigger) using .NET 6 and that worked perfectly. Then I decided to migrate to .NET 8 and started running into the issue below. I have tried various ...
0
votes
1
answer
274
views
Azure Function App: Unable to import BlobServiceClient, BlobClient
I have an Azure Function as below:
import azure.functions as func
import logging
import os
import tempfile
import subprocess
import json
from pathlib import Path
import glob
app = func.FunctionApp()...
0
votes
1
answer
490
views
Azure Blob trigger function delays and over crowded locally
I am working with C# and .NET8. Azure Function Version 4
I have a Blob Trigger Azure Function running without issues in Azure cloud. The function is updated using GitHub Actions from my repository. ...
2
votes
3
answers
4k
views
.NET 8 ISOLATED Azure Function - Binding attributes not working
I am porting an old .NET 6 in-process Azure Function app, to .NET 8 isolated worker model. I have an issue where it seems like the app configuration expression resolution for our Azure Function ...
0
votes
1
answer
566
views
Azure function app in python not trigger when blob is uploaded
I have a consumption based function app in python which will be triggered when a blob with extension .db is created/uploaded in a folder in a container of a storage account.
function.json:
{
"...
-1
votes
1
answer
205
views
New Azure Function App processes blobs that were already processed by another Function App
I have the following situation. I had a function that ran on Windows App Service Plan. That function processed blobs. The function had default LogsAndContainerScan trigger. Now after some time I ...
0
votes
1
answer
118
views
use environment variable for path binding in azure python
function.json
{
"scriptFile": "__init__.py",
"disabled": false,
"bindings": [
{
"name": "blob",
&...
0
votes
1
answer
796
views
Azure Logic apps on Sharepoint
"I am unable to transfer files from Blob to SharePoint using a Logic App workflow. I have attempted to create a workflow, but after getting blob contents, it states 'moved secure content not ...
0
votes
1
answer
138
views
Blob trigger not waking up the docker container
I have two functions in my container: one with a blob trigger and another one with a HTTP trigger. Runtime version is 4.28.4.4:
The managed environment is "Consumption only".
When I add a ...
0
votes
1
answer
501
views
Is BlobTrigger supposed to fire for pre-existing files when debugging an Azure Function locally in VS?
Background:
I have an Az blob storage account with many files in it, organized in folders like this: /upload/yyyy/mm/dd/*.csv
My function is a BlobTrigger, like so:
[FunctionName("...
0
votes
1
answer
313
views
Azure functions java: How to read blob tags as part of blob trigger?
I am using blob trigger to read and process blobs from Azure storage container. Currently, it works fine, I am able to receive the blob content and process it using the annotations as shown below. Now ...
0
votes
1
answer
890
views
Microsoft.Azure.WebJobs.Extensions.CosmosDB: Cosmos DB connection configuration 'CosmosDB' does not exist
I have a blob trigger function. this code snippet from init.py:
credential = DefaultAzureCredential()
endpoint = os.environ["connect__accountEndpoint"]
client = CosmosClient(
url = ...
0
votes
1
answer
369
views
Blob Trigger Azure Function v1 failing to process only one blob at a time
Here's all I've tried to try and stop the parallel processing:
host.JSON file looks like this:
"version": "2.0",
"extensions": {
"queues": {
"...
1
vote
2
answers
510
views
Azure Function: blobs_extension app key keeps changing
How can I keep the blobs_extension app key persistent so that I don't have to update the Webhook event subscription endpoint every time I restart or re-deploy a function or change any function or blob ...
2
votes
3
answers
2k
views
Azure functions isolated-process BlobTrigger not firing
I have the following Function (BlobTrigger) running as an isolated process (net8). Its failing to trigger when I upload a file to the storage account. I’m not sure why its not triggering. Any help ...
1
vote
2
answers
282
views
Azure Blobtrigger function - InvalidResourceName
In Azure, I'm setting up an Azure Function with a blobtrigger, it uses a SAS connectionstring to a blobstorage account in the same subscription, in the same resource group. When starting the function, ...
0
votes
1
answer
285
views
Azure function stuck in timeout loop
We have a Azure Function at work that stopped working so I got tasked to debug it and found that it gets stuck in a timeout loop right of the bat.
I don't have that much experience with Azure ...
1
vote
1
answer
153
views
Will Timer/blob triggers in azure always use host resources even though it's not executing?
Once deployed the Trigger functions are long running tasks that trigger on certain events is what I believe to be true.
To be precise, consider a scenario where I have deployed a Blob trigger which ...
0
votes
1
answer
744
views
What is the most efficient trigger to use for an Azure Function to poll a container for new blobs every 5 minutes
I need to create a function that polls a container every 5 minutes for new blobs, and then the data contained in each of these blobs will be forwarded on to an Event Hub to be picked up a SIEM system.
...
0
votes
2
answers
816
views
BlobTrigger Func VSCode. Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.34.0
I'm trying to make an example of BlobTrigger Azure Function using Visual Studio Code.
For that I was following along the Book "Beginning Azure Functions" of Rahul Sawhney.
My csproj file is:
...
0
votes
2
answers
648
views
Azure Logic App run trigger when Blob is added or modified - Status "Skipped" even with new blobs added
I have set up 7 logic apps for 7 different storage containers. The logic apps copy new blobs in specific containers to specific folders in a shared drive.
5 of the 7 work without issues.
2 of them ...
0
votes
1
answer
496
views
Save OpenAI response in Azure function to Blob storage
I used blob trigger template to create an Azure function that is triggered by new file updated in Azure blob storage. I am using python v2 to create Azure function in VScode. My issue is not able to ...
0
votes
2
answers
455
views
Azure Functions Blob is triggered 5 times
Since we switched to Azure Functions with the Python V2 programming model, we experience a lot more problems during and after deployment then before. One that keeps puzzling me is that a blob trigger ...
0
votes
1
answer
2k
views
Identity-based blob triggers for Azure functions fail locally
Context
A blob triggered function written in Java:
@FunctionName("blob")
public String execute(
@BlobTrigger(name = "test", path = "testcontainer/{name}", connection =...
0
votes
1
answer
654
views
ADF Blob Trigger does not have @triggerBody().folderPath
I followed the instructions here https://learn.microsoft.com/en-us/azure/data-factory/how-to-create-event-trigger? to create a pipeline and trigger but when I add a new file the trigger @triggerBody()....
0
votes
1
answer
748
views
Error in Trigger Azure Functions on blob containers using an event subscription
I am trying to create a function that is executed when a file .xlsx is created in a container, and to do that I am using an event grid as proposed by the azure documentation: https://learn.microsoft....
0
votes
1
answer
465
views
Azure Queue Storage: Value cannot be null, how to fix Azure Queue Storage error
I am getting this error when running my Azure function locally on my machine.
The function is running fine on my colleagues machine but I am getting the below error:
[2023-08-22T07:44:21.803Z] An ...