Questions tagged [azure-functions]

Azure Functions is an event-driven serverless compute platform in Azure and Azure Stack. Its open-source runtime also works on multiple destinations including Kubernetes, Azure IoT Edge, on-premises, and other clouds.

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. You can write just the code you need for the problem at hand, without worrying about a whole application or the infrastructure to run it. Functions can make development even more productive, and you can use your development language of choice, such as C#, F#, Node.js, Java, or PHP. Pay only for the time your code runs and trust Azure to scale as needed. Azure Functions lets you develop serverless applications on Microsoft Azure.


###Getting Started

15299 questions
4
votes
1 answer

Azure Functions error - Cannot bind parameter to type String

I am trying to save files to FTP by using an Azure Function. The json is this: { "type": "apiHubFile", "name": "outputFile", "path": "{folder}/ps-{DateTime}.txt", "connection": "ftp_FTP", "direction": "out" } The…
Alex Albu
  • 693
  • 1
  • 12
  • 20
4
votes
1 answer

Azure Function Queue Trigger falling way behind

I'm working on a demo for azure functions using queue triggers. I created a recursive Sudoku solver to show how to take depth first search and convert to using queued recursion. The code is on github. I was expecting it to scale out and process an…
MPavlak
  • 2,133
  • 1
  • 23
  • 38
4
votes
2 answers

How do I use an Azure Storage Queue in a request / response mode?

As we port more of our node.js code into Azure Functions we see references in the Azure docs that using Storage Queues is the preferred way to delegate processing responsibility instead of using http requests to call other functions. What is the…
Graham
  • 7,431
  • 18
  • 59
  • 84
4
votes
1 answer

Cannot install Azure Functions Extension

I have visual studio 2017 v2 and am trying to install the Azure functions extension. I have tried on a fresh vs install on a fresh PC as well as an older one. Each time I get the error message 'The extension cannot be installed to this product due…
johnstaveley
  • 1,400
  • 1
  • 22
  • 46
4
votes
1 answer

Time triggered azure function to trigger immediately after deploy

I have a time-triggered azure function triggered every 1 hour. My requirement is that, it should get triggered every hour but once also immediately after the deployment ? Is playing with cron expression my only way for this ?
Tany
  • 1,252
  • 14
  • 30
4
votes
1 answer

Visual Studio Azure Function Publishing function.json

I am new to Azure Functions, and attempting to put them to good use in conjunction with Blob Storage. I have downloaded Visual Studio 2017 Preview which has given me access to creating an Azure Function project template…
Tim B James
  • 20,084
  • 4
  • 73
  • 103
4
votes
3 answers

Authenticate and Call Sharepoint Online Api from Azure Function

I want to trigger a custom action when a document/file gets added on Sharepoint Online. The idea was to use Microsoft Flow, but as Flow doesn't allow you to work with the custom columns of the file added (just the title, date added, content type,…
4
votes
1 answer

fetch() always results in "type: 'opaque'". But I can use Postman on my endpoint successfully

I must be really terrible at JavaScript but I've been struggling with this for a few days and I've not made any progress. To make a long story short, I'm trying to work with UPS's REST API. I can do it with Postman and I can do it with PowerShell…
Chris76786777
  • 709
  • 1
  • 13
  • 23
4
votes
1 answer

How can I clear nuget cache in Azure Functions

How can I clear nuget cache in Azure Functions? Some changes happend to our nuget package but version wasn't changed. (The package in dev now, and we can't change the version now, it should be the same)
4
votes
2 answers

Installation of Azure Functions to visual studio 2015

I am new to Azure Functions. I am trying to install Azure functions 2.9.6 version. I am able to install it, but still cannot see it in visual studio templates. I have updated my visual studio to update 3. Earlier, I tried version 3 too, but its…
Leo
  • 115
  • 2
  • 9
4
votes
2 answers

How can I process IoTHub file upload notifications in an Azure Function

We currently have devices which are sending files to Azure through an Azure IoTHub using the file upload functionality. Ideally we would have an Azure Function which gets triggered when there is a new File uploaded. We are aware of the…
Wessel Kranenborg
  • 1,400
  • 15
  • 38
4
votes
1 answer

What does the Serverless Framework offers for Azure Functions?

I wonder what are the features/capabilities that Serverless Framework gives me when developing Node.js functions in Azure Functions environment? When I look to this CLI, there is nothing I cannot do with Kudu and GitHub integration (or for simpler…
Lech Migdal
  • 3,828
  • 5
  • 36
  • 63
4
votes
1 answer

How can I force Azure function to output JSON to browsers

I have an azure function setup with this source: module.exports = function(context, req) { //this is the entire source, seriously context.done(null, {favoriteNumber : 3}); }; When I use a tool like postman to visit it I get a nice JSON…
Keatinge
  • 4,330
  • 6
  • 25
  • 44
4
votes
2 answers

Azure Functions Redirect Header

I want one of my Azure Functions to do an HTTP Redirection. This is the current code of the function: module.exports = context => { context.res.status(302) context.res.header('Location', 'https://www.stackoverflow.com') context.done() } But…
kube
  • 13,176
  • 9
  • 34
  • 38
4
votes
2 answers

Azure Functions Event Hub trigger bindings

Just have a couple of questions regarding the usage of Azure Functions with an EventHub in an IoT scenario. EventHub has partitions. Typically messages from a specific device go to the same partition. How are the instances of an Azure Function…
Helikaon
  • 1,490
  • 13
  • 30