azure functions
8 TopicsService Bus: Ip has been prevented to connect to the endpoint
Hi Since yesterday we are facing issues with our Azure Functions (ASP) connecting to the Azure Sevice Bus (Standard, not in VNET). This was working before without any issues and since yesterday it is not working anymore on all our environments so I wonder if there is any general issue. Message: Put token failed. status-code: 401, status-description: Ip has been prevented to connect to the endpoint.For more information see:Virtual Network service endpoints The Azure Functions are communication via Nat Gatway and the public Ip address is set in the IP Filter List of the SBN. As far as I deactivate the IP filter to allow any traffic, it is working again. I also can see, that the used outbound Ip is exactly the smae which is set in the ip filter list. We are susing the AMQP protocol. [Error] An unhandled exception occurred in the message batch receive loop (namespace='....servicebus.windows.net', entityPath='.../Subscriptions/...', singleDispatch='False', isSessionsEnabled='False', functionId='Host.Functions.ProcessTripsBc').System.UnauthorizedAccessException : Put token failed. status-code: 401, status-description: Ip has been prevented to connect to the endpoint.For more information see:Virtual Network service endpoints:Event Hubs: https://go.microsoft.com/fwlink/?linkid=2044192Service Bus: https://go.microsoft.com/fwlink/?linkid=2044235IP Filters:Event Hubs: https://go.microsoft.com/fwlink/?linkid=2044428Service Bus: https://go.microsoft.com/fwlink/?linkid=2044183TrackingId:0ac55176-7c9d-4577-bc35-246418724a7d_G0 Regards MichaelSolved290Views0likes1CommentSend message to Teams from Azure Function or Azure Automation
I put together two videos that show how to send a message to Microsoft Teams whenever a specified resource is created in an Azure Subscription. One using Azure Functions, the other Azure Automation. Short blog post and link to the videos below. https://www.ciraltos.com/azure-automation-azure-functions-teams-and-event-grid/18KViews1like0CommentsAzure function not launched
Scenario: - a user is connecting to a webapp - he uploads an excel file gathering a list of videos to analyse - this webapp transfers this exccel file into an azure blob - this transfer must launch an azure function which orchestrate as an analysis thanks to azure batch Issue: I encountered a dysfunctionnement in the pipeline: nothing happens when the file is transferred into the blob May someone can help me? Thank you a lot1.1KViews0likes1CommentHow to fix 'Operation is not valid due to the current state of the object ' in .NET Azure Function?
I have a .NET Azure Function executed by Logic Apps triggered by an SQL connector "When an item is created V2". The function gathers data from multiple APIs and inserts the data into a SQL DB. The function works good for singular records, however, when a batch of records is inserted into the SQL table triggering the function, then the function breaks with the following error: Operation is not valid due to the current state of the object According to multiple threads on the Stack Overflow (i.e. https://stackoverflow.com/questions/8832470/operation-is-not-valid-due-to-the-current-state-of-the-object-error-during-pos ), to resolve the problem the web config file should be configured in the following way: <appSettings> <add key="aspnet:MaxHttpCollectionKeys" value="2001" /> </appSettings> Is there any way to change the web.config file of an Azure Function App? Where I will find it? Or should I create it by myself? Do you have any other ideas on how to resolve the issue?16KViews0likes0CommentsPowerShell in Azure Functions not available anymore?
Hey everyone, last time i worked with azure functions, i was able to create a function using "Webhook + API" and select PowerShell by "create your own custom function": Today i wanted to create another function based on PowerShell but it is not possible anymore or i am not able to find it... Any explanations? Best regards MarvinSolved1.8KViews0likes1CommentTake back control over IoTHub messages in Azure Functions
Azure Functions are a blessing for IoT solutions. To be so flexible executing code whenever messages are arriving, every IoT project is fully depending on it. But one of the biggest frustrations is the casting of (EventHub) messages towards a string! Only the message body is left! Once a message is passed on to an Azure Function, I only have access to the body of the message. I can not access the (routing) properties anymore. And before we got Azure Functions, we had to work with Stream Analytics. And I still do! And it's so nice to have access to the IoT Hub values like the device name of the message. Because I am working with Azure Functions, I have to put it in the Message body first??? It would be great to have access to both the properties and the IoTHub values! Well, it's possible now with some clever casting... Read the full story here811Views0likes0CommentsHelp with Azure Function Output binding parameter
I have a Azure Functions that is triggered when a Event Hub message is received. It's working fine. So, i generate a file (text-to-speech bing) and i'm trying save it in a Blob Storage. I configured the function.json following: { "type": "blob", "name": "myOutputBlob", "path": "queuetest19628/{queueTrigger}", "connection": "AzureWebJobsDashboard", "direction": "out" } I tried change de "queueTrigger" parameter to anything, but i always got the message: Exception while executing function: Functions.EventHubTriggerJS1. Microsoft.Azure.WebJobs.Host: No value for named parameter 'queueTrigger' If i put the parameter "name" in output bind, the message is change to "No value for named parameter 'name'".. I using this in my NodeJS function: myOutPut = {id: 123456, arquivo:"o1o1o1o", name:"lalala"}; context.bindings.myOutputBlob = myOutPut; context.done(); How can i make this work in NODE?3.9KViews0likes0CommentsMigrating Azure Functions from portal to Visual Studio
Azure Functions are a great addition to the whole family of Azure resources. Azure Functions are my number one workhorses. The fact that I can execute code, triggered by 'whatever', gives me so much power for a fraction of the costs. And the beauty of it is, you can write those nifty pieces of code directly into the Azure portal using nothing more than a browser. But as always, with great power comes great responsibilities! The code I write in the portal is not supporting any version control. And I cannot debug this code. Although I am up-and-running with Azure Functions in a few hours, I want to debug and put my code in version control too! Luckily, I can create Azure Function in Visual Studio too. And this gives me the power of debugging and version control. But what are the drawbacks? Let's explore om how to migrate your Azure Function, written in the portal, into Visual Studio. Debugging your Azure Function in Visual Studio Receiving Azure IoTHub telemetry locally Deploying and running an Azure Function on the portal side by side with other functions Read the full article here749Views0likes0Comments