Update Function App Site Configuration and Restart
A 3-step recipe with Microsoft Azure Functions. We can help you get access.
Recipe · 3 steps
Update Function App Site Configuration and Restart
Read, update, and apply site configuration with a restart.
- Read the current web site configuration so the caller has the baseline before applying changes.
- Apply the supplied configuration via create-or-update of the web config.
- Restart the function app so the new configuration takes effect.
What you'll need to have ready
- subscriptionId: The Azure subscription identifier (GUID).
- resourceGroupName: The resource group that contains the function app.
- name: The name of the function app.
- config: The SiteConfig properties object to apply (e.g. {alwaysOn:true}).
- apiVersion: The ARM api-version to use for all requests.
For your developer
Arazzo workflow microsoft-azure-functions:update-site-config, 3 operations: WebApps_GetConfiguration → WebApps_CreateOrUpdateConfiguration → WebApps_Restart. Specs on APIs.io.