Do I have to set WEBSITE_CONTENTSHARE value in app settings when having multiple deployment slots? What does this value indicate? Can I provide some random values for WEBSITE_CONTENTSHARE in production and aging slots?
app config settings WEBSITE_CONTENTSHARE in function app deployment slots
9.7k views Asked by user989988 At
1
There are 1 answers
Related Questions in AZURE-FUNCTIONS
- Azure Function: switch from consumption to premium plan for 1 hour daily automatically?
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- How to migrate from Azure Static Web Apps to Azure App Service?
- Logic Apps and long running Azure Function (Powershell)
- Not getting Information or Trace logs in Application Insights in .NET 8 function
- Azure Queue Functions | Trigger when multiple queue functions executions with a specific message property ends
- No HTTP Trigger Found In Azure function
- Python middleware for azure function warmup
- Problem deploying an Azure Function to a Function App
- Logic App Function App reading and writing Binary Files
- SwaggerUI on Azure Functions (.NET 8 Update)
- Azure Function Javascript Invocation hooks usage with HTTP triggers
- Error indexing method 'IntegrationFunction' Can't convert from type 'Microsoft.Azure.EventHubs.EventData
Related Questions in AZURE-DEPLOYMENT-SLOTS
- Application settings for production deployment slot in Azure App Services
- Azure slot swap - Do both slots have same "sticky settings" during warmup?
- Cannot deploy Blazor WASM to Azure Static Web *Production* always deploys to Preview Slot
- Change the web.config values directly in the app service using yaml
- What is the benefit of swapping compared to deploying conditionally with Azure Deployment Slots
- Understand traffic percent setting in Azure Function deployment slot
- Azure Automation Runbook, can it call web api through a VNet?
- Azure Web App - Create One Deploy Operation to Slot
- Blazor Server + Azure App Service deployment slots: active production users keep on using old SignalR connection slot after swap
- How to use Azure Deployment slots with multiple function apps and an app service
- Do Azure function slots need the app setting AzureWebJobsStorage?
- Function app new appsettings not present in production slot
- Seeing duplicate attributes after deploying Azure functions to slot
- How to deal with Azure Web App deployment slot settings?
- Azure deployment slot swap - both slots use production settings
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
WEBSITE_CONTENTSHAREis used along withWEBSITE_CONTENTAZUREFILECONNECTIONSTRINGwhich represents where the configurations are stored and the storage account where the function app code is stored.You do not need to set the
WEBSITE_CONTENTSHAREsetting in a deployment slot. This setting is generated for you when the app is created in the deployment slot.This represents the file path to the function app code and configuration.
According to this document "The WEBSITE_CONTENTSHARE setting must be provided and valid at creation time. An automated deployment that doesn't contain these settings results in a function app that won't run, even if the settings are added later."
NOTE:
This is available when deploying to a Windows or Linux Premium plan and Windows Consumption plan.
This is not supported in Linux Consumption plans and Windows and Linux Dedicated plans.
If you change or remove this option, your function app may not start.
REFERENCES: