3

I am confused is it possible to have Azure Function with HTTP trigger without Storage Account. I saw in msdn this info: "An HTTP trigger doesn't use the Storage account connection. All other trigger types require a valid Storage account connection string." But If I try to publish by VisualStudio a project with such Azure Function,Http trigger it still asked me to create a Storage Account.

0

2 Answers 2

1

But If I try to publish by VisualStudio a project with such Azure Function,Http trigger it still asked me to create a Storage Account.

When you publishing the Http trigger to azure, it asks you to create the storage account to the Function App, the storage account is required by the Functions runtime. See Storage account requirements.

In the official doc:

AzureWebJobsStorage

The Azure Functions runtime uses this storage account connection string for all functions except for HTTP triggered functions.

The storage is for Function App runtime not the http trigger, the storage account is also for other thing, like storing logs.

Sign up to request clarification or add additional context in comments.

Comments

-1

You can actually publish function apps without storage account using ARM template, but its not recommended and i think my function app is eating memory because of this (storage of files in RAM?)

1 Comment

Can person that gave me -1 explain why?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.