Where do I find the value I need to set WEBSITE_CONTENTSHARE to?

Nathan Allan 20 Reputation points
2023-11-20T23:15:00.2666667+00:00

In the overview of my Function App, a little pop up appears at the top saying my storage account was not set up correctly and that scaling may be limited.

It seems like I need to set 3 values in the configuration of my function app to fix this, but I don't know the value of one of them.

AzureWebJobsStorage - The Connection String from my Storage Account

WEBSITE_CONTENTAZUREFILECONNECTIONSTRING - Same as above

WEBSITE_CONTENTSHARE - ???? seems like it should be the name of my function app followed by 4 alphanumeric characters? Just not sure what those are.

Thank you.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,936 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 125.8K Reputation points Volunteer Moderator
    2023-11-20T23:26:54.7333333+00:00

    Hi Nathan,

    WEBSITE_CONTENTSHARE needs to be the name of the file share in the function's storage account.

    Browse to your function's storage account in the portal, next open Data storage -- File shares blade, and on the right you will see the share name. It is normally the name of the function app with several random characters appended.

    Please click Accept Answer and upvote if the above was useful.

    Thanks.

    -TP

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.