Azure Web Apps
App · Cloud Computing · 20 actions
Create and run Azure App Service web apps: create apps and App Service plans, start, stop and restart apps, change their app settings, connection strings and runtime configuration, check whether a name is free and list the runtime stacks Azure offers. Works with the free F1 plan.
Actions
| Action | What it does |
|---|---|
| Check name availability | Whether a web app name is free. |
| Create App Service plan | Create an App Service plan, the compute web apps run on. |
| Create web app | Create a web app on an existing App Service plan, in the plan's region. |
| Delete App Service plan | Delete an App Service plan. |
| Delete web app | Delete a web app and its content. |
| Get App Service plan | One App Service plan's tier, region, status and app count. |
| Get app settings | An app's application settings (its environment variables), with their values. |
| Get connection strings | An app's connection strings, each with its value and type. |
| Get site configuration | An app's runtime and platform configuration: runtime stack, startup command, always on, HTTP/2, TLS, FTP, logging and more. |
| Get web app | One web app's state, address, plan and settings. |
| List App Service plans | The App Service plans in a resource group or the whole subscription, with each one's tier, region and app count. |
| List runtime stacks | The languages and versions App Service can run, with the value 'Create web app' and 'Update site configuration' take. |
| List web apps | The web apps in a resource group or the whole subscription, with each one's state and address. |
| Restart web app | Restart a web app, for example after changing its settings. |
| Start web app | Start a stopped web app. |
| Stop web app | Stop a web app. |
| Update app settings | Add, change or remove application settings. |
| Update connection strings | Add or change a connection string, or remove some. |
| Update site configuration | Change an app's runtime stack, startup command and platform settings. |
| Update web app | Turn an app on or off, require HTTPS, change session affinity or public access, or move it to another plan. |
Check name availability
Whether a web app name is free. Names are global across Azure, because each becomes <name>.azurewebsites.net.
Inputs
- App name
app_nametextRequired - The name to check.
Outputs
availabletrue/falsemessagetextnametextreasontext
Example output
{
"available": true,
"message": null,
"name": "my-web-app",
"reason": null
}Create App Service plan
Create an App Service plan, the compute web apps run on. F1 is free; other tiers are billed by the hour. The operating system cannot be changed later. The step stops rather than overwrite a plan that already has the name.
Inputs
- Plan name
plan_nametextRequired - Up to 60 letters, digits, hyphens and underscores.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
- Pricing tier
skutext - F1 is free: shared compute, 60 CPU minutes a day.One of:
F1(F1 - Free),B1(B1 - Basic),B2(B2 - Basic),S1(S1 - Standard),P0v3(P0v3 - Premium v3),P1v3(P1v3 - Premium v3). Default:F1. - Operating system
plan_ostext - Linux or Windows. It cannot be changed later.One of:
linux,windows. Default:linux. - Region
locationtext - An Azure region such as westeurope or 'West Europe'. Leave empty for the resource group's region. A plan can be in a different region from its resource group, so set this to retry where the subscription has quota.
- Tags
tagsobject - Azure tags as name: value pairs, such as {"team": "web"}.
Outputs
capacitynumberidtextlocationtextmaximum_number_of_workersnumbernametextnumber_of_sitesnumberostextplan_kindtextprovisioning_statetextresource_grouptextsku_nametextsku_tiertextstatustexttagsobject
Example output
{
"capacity": 1,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/serverfarms/my-plan",
"location": "West Europe",
"maximum_number_of_workers": 1,
"name": "my-plan",
"number_of_sites": 0,
"os": "linux",
"plan_kind": "linux",
"provisioning_state": "Succeeded",
"resource_group": "my-rg",
"sku_name": "F1",
"sku_tier": "Free",
"status": "Ready",
"tags": {}
}Create web app
Create a web app on an existing App Service plan, in the plan's region. Web app names are global across Azure, so 'Check name availability' first. The step stops rather than overwrite an app that already has the name.
Inputs
- App name
app_nametextRequired - 2-60 letters, digits and hyphens. It becomes <name>.azurewebsites.net.
- App Service plan
plantextRequired - The plan to run it on. Pick one, or type its name (in the app's resource group) or resource id.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
- Runtime stack
runtimetext - The language and version for a Linux app, such as NODE|22-lts or PYTHON|3.12. Pick one, or use a value from 'List runtime stacks'.
- HTTPS only
https_onlytrue/false - Redirect plain HTTP requests to HTTPS.Default:
true. - App settings
app_settingsobject - Environment variables for the app as name: value pairs, such as {"NODE_ENV": "production"}.
- Startup command
startup_commandtext - The command that starts the app, such as: npm start
- Health check path
health_check_pathtext - A path Azure pings to check the app is healthy, such as /health.
- Minimum TLS version
min_tls_versiontext - The oldest TLS version the app accepts.One of:
1.2(TLS 1.2),1.3(TLS 1.3). - FTP state
ftps_statetext - Whether the app accepts FTP or FTPS uploads.One of:
Disabled,FtpsOnly(FTPS only),AllAllowed(FTP and FTPS). - Tags
tagsobject - Azure tags as name: value pairs, such as {"team": "web"}.
Outputs
app_kindtextavailability_statetextclient_affinity_enabledtrue/falsedefault_host_nametextenabledtrue/falsehost_nameslisthttps_onlytrue/falseidtextlast_modifiedtextlocationtextnametextostextplan_idtextplan_nametextpublic_network_accesstextresource_grouptextstatetexttagsobjecturltextusage_statetext
Example output
{
"app_kind": "app,linux",
"availability_state": "Normal",
"client_affinity_enabled": false,
"default_host_name": "my-web-app.azurewebsites.net",
"enabled": true,
"host_names": [
"my-web-app.azurewebsites.net"
],
"https_only": true,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/sites/my-web-app",
"last_modified": "2026-10-01T09:00:00Z",
"location": "West Europe",
"name": "my-web-app",
"os": "linux",
"plan_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/serverfarms/my-plan",
"plan_name": "my-plan",
"public_network_access": "Enabled",
"resource_group": "my-rg",
"state": "Running",
"tags": {},
"url": "https://my-web-app.azurewebsites.net",
"usage_state": "Normal"
}Delete App Service plan
Delete an App Service plan. A plan that still hosts apps is not deleted; delete or move its apps first.
Inputs
- App Service plan
plan_nametextRequired - The plan. Pick one, or type its name or resource id.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
- Succeed if it is already gone
if_missing_oktrue/false - When on, the step succeeds even if there is nothing to delete.Default:
false.
Outputs
already_gonetrue/falsedeletedtrue/falsenametextresource_grouptext
Example output
{
"already_gone": false,
"deleted": true,
"name": "my-plan",
"resource_group": "my-rg"
}Delete web app
Delete a web app and its content. Its App Service plan is kept, even when it is left with no apps, unless you choose otherwise.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
- Also delete the plan if empty
delete_empty_plantrue/false - When on, the app's App Service plan is deleted too if this was its last app.Default:
false. - Succeed if it is already gone
if_missing_oktrue/false - When on, the step succeeds even if there is nothing to delete.Default:
false.
Outputs
already_gonetrue/falsedeletedtrue/falsedeleted_empty_plantrue/falsenametextresource_grouptext
Example output
{
"already_gone": false,
"deleted": true,
"deleted_empty_plan": false,
"name": "my-web-app",
"resource_group": "my-rg"
}Get App Service plan
One App Service plan's tier, region, status and app count.
Inputs
- App Service plan
plan_nametextRequired - The plan. Pick one, or type its name or resource id.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
Outputs
capacitynumberidtextlocationtextmaximum_number_of_workersnumbernametextnumber_of_sitesnumberostextplan_kindtextprovisioning_statetextresource_grouptextsku_nametextsku_tiertextstatustexttagsobject
Example output
{
"capacity": 1,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/serverfarms/my-plan",
"location": "West Europe",
"maximum_number_of_workers": 1,
"name": "my-plan",
"number_of_sites": 1,
"os": "linux",
"plan_kind": "linux",
"provisioning_state": "Succeeded",
"resource_group": "my-rg",
"sku_name": "F1",
"sku_tier": "Free",
"status": "Ready",
"tags": {}
}Get app settings
An app's application settings (its environment variables), with their values.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
Outputs
app_nametextcountnumbernameslistresource_grouptextsettingsobject- Setting name: value
Example output
{
"app_name": "my-web-app",
"count": 1,
"names": [
"FEATURE_FLAG"
],
"resource_group": "my-rg",
"settings": {
"FEATURE_FLAG": "on"
}
}Get connection strings
An app's connection strings, each with its value and type.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
Outputs
app_nametextconnection_stringsobject- Name: {value, type}
countnumbernameslistresource_grouptext
Example output
{
"app_name": "my-web-app",
"connection_strings": {
"Database": {
"type": "SQLAzure",
"value": "Server=example;Database=app"
}
},
"count": 1,
"names": [
"Database"
],
"resource_group": "my-rg"
}Get site configuration
An app's runtime and platform configuration: runtime stack, startup command, always on, HTTP/2, TLS, FTP, logging and more.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
Outputs
always_ontrue/falseapp_nametextconfigobject- Every configuration value Azure set
default_documentslistdetailed_error_logging_enabledtrue/falseftps_statetexthealth_check_pathtexthttp20_enabledtrue/falsehttp_logging_enabledtrue/falsejava_versiontextlinux_fx_versiontextmin_tls_versiontextnet_framework_versiontextnode_versiontextnumber_of_workersnumberphp_versiontextpython_versiontextrequest_tracing_enabledtrue/falseresource_grouptextstartup_commandtextuse_32_bit_worker_processtrue/falseweb_sockets_enabledtrue/falsewebsite_time_zonetextwindows_fx_versiontext
Example output
{
"always_on": false,
"app_name": "my-web-app",
"config": {
"http20Enabled": true,
"linuxFxVersion": "NODE|22-lts"
},
"default_documents": [
"index.html"
],
"detailed_error_logging_enabled": false,
"ftps_state": "FtpsOnly",
"health_check_path": null,
"http20_enabled": true,
"http_logging_enabled": false,
"java_version": null,
"linux_fx_version": "NODE|22-lts",
"min_tls_version": "1.2",
"net_framework_version": "v4.0",
"node_version": "",
"number_of_workers": 1,
"php_version": "",
"python_version": "",
"request_tracing_enabled": false,
"resource_group": "my-rg",
"startup_command": "",
"use_32_bit_worker_process": true,
"web_sockets_enabled": false,
"website_time_zone": null,
"windows_fx_version": null
}Get web app
One web app's state, address, plan and settings.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
Outputs
app_kindtextavailability_statetextclient_affinity_enabledtrue/falsedefault_host_nametextenabledtrue/falsehost_nameslisthttps_onlytrue/falseidtextlast_modifiedtextlocationtextnametextostextplan_idtextplan_nametextpublic_network_accesstextresource_grouptextstatetexttagsobjecturltextusage_statetext
Example output
{
"app_kind": "app,linux",
"availability_state": "Normal",
"client_affinity_enabled": false,
"default_host_name": "my-web-app.azurewebsites.net",
"enabled": true,
"host_names": [
"my-web-app.azurewebsites.net"
],
"https_only": true,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/sites/my-web-app",
"last_modified": "2026-10-01T09:00:00Z",
"location": "West Europe",
"name": "my-web-app",
"os": "linux",
"plan_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/serverfarms/my-plan",
"plan_name": "my-plan",
"public_network_access": "Enabled",
"resource_group": "my-rg",
"state": "Running",
"tags": {},
"url": "https://my-web-app.azurewebsites.net",
"usage_state": "Normal"
}List App Service plans
The App Service plans in a resource group or the whole subscription, with each one's tier, region and app count.
Inputs
- Resource group
resource_grouptext - Only this resource group. Leave empty for the connection's default resource group, or the whole subscription when there is none.
- Maximum results
limitnumber - Return at most this many.From 1 to 1000. Default:
100.
Outputs
countnumbernameslistplanslistresource_grouptexttruncatedtrue/false
Example output
{
"count": 1,
"names": [
"my-plan"
],
"plans": [
{
"capacity": 1,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/serverfarms/my-plan",
"location": "West Europe",
"maximum_number_of_workers": 1,
"name": "my-plan",
"number_of_sites": 1,
"os": "linux",
"plan_kind": "linux",
"provisioning_state": "Succeeded",
"resource_group": "my-rg",
"sku_name": "F1",
"sku_tier": "Free",
"status": "Ready",
"tags": {}
}
],
"resource_group": "my-rg",
"truncated": false
}List runtime stacks
The languages and versions App Service can run, with the value 'Create web app' and 'Update site configuration' take. 'latest' is the newest supported version.
Inputs
- Operating system
stack_ostext - Runtimes for Linux apps, Windows apps or both.One of:
Linux,Windows,All(Both). Default:Linux. - Language
stacktext - Only this language, such as node, python, dotnet, java or php. Leave empty for all.
- Include deprecated
include_deprecatedtrue/false - When on, versions past end of support are listed too.Default:
false.
Outputs
countnumberlatesttextostextruntime_versionslistruntimesliststacktext
Example output
{
"count": 1,
"latest": "NODE|22-lts",
"os": "Linux",
"runtime_versions": [
"NODE|22-lts"
],
"runtimes": [
{
"end_of_life_date": "2027-04-30T00:00:00Z",
"is_deprecated": false,
"is_preview": false,
"os": "linux",
"runtime_version": "NODE|22-lts",
"stack": "node",
"stack_label": "Node",
"version_label": "Node 22 LTS"
}
],
"stack": "node"
}List web apps
The web apps in a resource group or the whole subscription, with each one's state and address.
Inputs
- Resource group
resource_grouptext - Only this resource group. Leave empty for the connection's default resource group, or the whole subscription when there is none.
- Include function apps
include_function_appstrue/false - When on, Azure Functions apps are listed too.Default:
false. - Maximum results
limitnumber - Return at most this many.From 1 to 1000. Default:
100.
Outputs
appslistcountnumbernameslistresource_grouptexttruncatedtrue/false
Example output
{
"apps": [
{
"app_kind": "app,linux",
"availability_state": "Normal",
"client_affinity_enabled": false,
"default_host_name": "my-web-app.azurewebsites.net",
"enabled": true,
"host_names": [
"my-web-app.azurewebsites.net"
],
"https_only": true,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/sites/my-web-app",
"last_modified": "2026-10-01T09:00:00Z",
"location": "West Europe",
"name": "my-web-app",
"os": "linux",
"plan_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/serverfarms/my-plan",
"plan_name": "my-plan",
"public_network_access": "Enabled",
"resource_group": "my-rg",
"state": "Running",
"tags": {},
"url": "https://my-web-app.azurewebsites.net",
"usage_state": "Normal"
}
],
"count": 1,
"names": [
"my-web-app"
],
"resource_group": "my-rg",
"truncated": false
}Restart web app
Restart a web app, for example after changing its settings.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
- Only if needed
soft_restarttrue/false - When on, Azure applies the configuration and restarts the app only if that needs a restart.Default:
false. - Wait until restarted
wait_until_restartedtrue/false - When on, the step waits for the app to come back up (up to five minutes) instead of returning straight away.Default:
false.
Outputs
actiontextnametextresource_grouptextsoft_restarttrue/falsestatetexturltextwaitedtrue/false
Example output
{
"action": "restarted",
"name": "my-web-app",
"resource_group": "my-rg",
"soft_restart": false,
"state": "Running",
"url": "https://my-web-app.azurewebsites.net",
"waited": false
}Start web app
Start a stopped web app.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
Outputs
actiontextnametextresource_grouptextstatetexturltext
Example output
{
"action": "started",
"name": "my-web-app",
"resource_group": "my-rg",
"state": "Running",
"url": "https://my-web-app.azurewebsites.net"
}Stop web app
Stop a web app. It stops serving requests until it is started again; on a paid plan, the plan is still billed.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
Outputs
actiontextnametextresource_grouptextstatetexturltext
Example output
{
"action": "stopped",
"name": "my-web-app",
"resource_group": "my-rg",
"state": "Stopped",
"url": "https://my-web-app.azurewebsites.net"
}Update app settings
Add, change or remove application settings. Every other setting is kept as it is. Saving restarts the app.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
- Settings to add or change
settingsobject - Name: value pairs, such as {"FEATURE_FLAG": "on"}. A null value removes that setting.
- Settings to remove
remove_nameslist - Names to delete. Names that are not there are ignored.
Outputs
app_nametextchangedlistcountnumbernameslistnot_foundlistremovedlistresource_grouptextsettingsobject- Setting name: value
Example output
{
"app_name": "my-web-app",
"changed": [
"FEATURE_FLAG"
],
"count": 1,
"names": [
"FEATURE_FLAG"
],
"not_found": [],
"removed": [],
"resource_group": "my-rg",
"settings": {
"FEATURE_FLAG": "on"
}
}Update connection strings
Add or change a connection string, or remove some. Every other connection string is kept as it is. Saving restarts the app.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
- Name
nametext - The connection string to add or change.
- Value
valuetext - The connection string itself.
- Type
connection_typetext - What it connects to.One of:
Custom,SQLAzure(Azure SQL Database),SQLServer(SQL Server),MySql,PostgreSQL,DocDb(Cosmos DB (DocDb)),RedisCache(Azure Cache for Redis),ServiceBus(Service Bus),EventHub(Event Hubs),NotificationHub(Notification Hubs),ApiHub(API Hub). Default:Custom. - Connection strings to remove
remove_nameslist - Names to delete. Names that are not there are ignored.
Outputs
app_nametextchangedlistconnection_stringsobject- Name: {value, type}
countnumbernameslistnot_foundlistremovedlistresource_grouptext
Example output
{
"app_name": "my-web-app",
"changed": [
"Database"
],
"connection_strings": {
"Database": {
"type": "SQLAzure",
"value": "Server=example;Database=app"
}
},
"count": 1,
"names": [
"Database"
],
"not_found": [],
"removed": [],
"resource_group": "my-rg"
}Update site configuration
Change an app's runtime stack, startup command and platform settings. Only the settings you set are changed.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
- Runtime stack
runtimetext - The language and version for a Linux app, such as NODE|22-lts or PYTHON|3.12. Pick one, or use a value from 'List runtime stacks'.
- Startup command
startup_commandtext - The command that starts the app, such as: npm start
- Always on
always_ontext - Keeps the app loaded. Not available on the Free (F1) plan.One of:
unchanged(Leave as it is),on,off. Default:unchanged. - Web sockets
web_sockets_enabledtext - Allow WebSocket connections.One of:
unchanged(Leave as it is),on,off. Default:unchanged. - HTTP/2
http20_enabledtext - Serve the app over HTTP/2.One of:
unchanged(Leave as it is),on,off. Default:unchanged. - Minimum TLS version
min_tls_versiontext - The oldest TLS version the app accepts.One of:
1.2(TLS 1.2),1.3(TLS 1.3). - FTP state
ftps_statetext - Whether the app accepts FTP or FTPS uploads.One of:
Disabled,FtpsOnly(FTPS only),AllAllowed(FTP and FTPS). - Health check path
health_check_pathtext - A path Azure pings to check the app is healthy, such as /health.
- 32-bit worker process
use_32_bit_worker_processtext - Run a Windows app in a 32-bit process.One of:
unchanged(Leave as it is),on,off. Default:unchanged. - Default documents
default_documentslist - Files served for a folder address, in order, such as index.html. Replaces the current list.
- Time zone
website_time_zonetext - The app's time zone: a tz name such as Europe/London on Linux, or a Windows name such as 'GMT Standard Time'.
- Web server logging
http_logging_enabledtext - Record the web server's request log.One of:
unchanged(Leave as it is),on,off. Default:unchanged. - Detailed error messages
detailed_error_logging_enabledtext - Save detailed error pages.One of:
unchanged(Leave as it is),on,off. Default:unchanged. - Failed request tracing
request_tracing_enabledtext - Trace failed requests.One of:
unchanged(Leave as it is),on,off. Default:unchanged.
Outputs
always_ontrue/falseapp_nametextconfigobject- Every configuration value Azure set
default_documentslistdetailed_error_logging_enabledtrue/falseftps_statetexthealth_check_pathtexthttp20_enabledtrue/falsehttp_logging_enabledtrue/falsejava_versiontextlinux_fx_versiontextmin_tls_versiontextnet_framework_versiontextnode_versiontextnumber_of_workersnumberphp_versiontextpython_versiontextrequest_tracing_enabledtrue/falseresource_grouptextstartup_commandtextuse_32_bit_worker_processtrue/falseweb_sockets_enabledtrue/falsewebsite_time_zonetextwindows_fx_versiontext
Example output
{
"always_on": false,
"app_name": "my-web-app",
"config": {
"http20Enabled": true,
"linuxFxVersion": "NODE|22-lts"
},
"default_documents": [
"index.html"
],
"detailed_error_logging_enabled": false,
"ftps_state": "FtpsOnly",
"health_check_path": null,
"http20_enabled": true,
"http_logging_enabled": false,
"java_version": null,
"linux_fx_version": "NODE|22-lts",
"min_tls_version": "1.2",
"net_framework_version": "v4.0",
"node_version": "",
"number_of_workers": 1,
"php_version": "",
"python_version": "",
"request_tracing_enabled": false,
"resource_group": "my-rg",
"startup_command": "",
"use_32_bit_worker_process": true,
"web_sockets_enabled": false,
"website_time_zone": null,
"windows_fx_version": null
}Update web app
Turn an app on or off, require HTTPS, change session affinity or public access, or move it to another plan. Only the settings you set are changed.
Inputs
- Web app
app_nametextRequired - The web app. Pick one, or type its name, its resource id or its <name>.azurewebsites.net address.
- Resource group
resource_grouptext - Leave empty for the connection's default resource group. Not needed when the app or plan is picked from the list or given by resource id.
- Enabled
enabledtext - Off makes the app stop serving; its address returns 403.One of:
unchanged(Leave as it is),on,off. Default:unchanged. - HTTPS only
https_onlytext - On redirects plain HTTP requests to HTTPS.One of:
unchanged(Leave as it is),on,off. Default:unchanged. - Session affinity
client_affinity_enabledtext - On sends each visitor back to the same instance.One of:
unchanged(Leave as it is),on,off. Default:unchanged. - Public network access
public_network_accesstext - Whether the app can be reached from the internet.One of:
Enabled,Disabled. - Move to plan
plantext - Move the app to this plan. It must be in the same region and on the same operating system.
Outputs
app_kindtextavailability_statetextclient_affinity_enabledtrue/falsedefault_host_nametextenabledtrue/falsehost_nameslisthttps_onlytrue/falseidtextlast_modifiedtextlocationtextnametextostextplan_idtextplan_nametextpublic_network_accesstextresource_grouptextstatetexttagsobjecturltextusage_statetext
Example output
{
"app_kind": "app,linux",
"availability_state": "Normal",
"client_affinity_enabled": false,
"default_host_name": "my-web-app.azurewebsites.net",
"enabled": true,
"host_names": [
"my-web-app.azurewebsites.net"
],
"https_only": true,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/sites/my-web-app",
"last_modified": "2026-10-01T09:00:00Z",
"location": "West Europe",
"name": "my-web-app",
"os": "linux",
"plan_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my-rg/providers/Microsoft.Web/serverfarms/my-plan",
"plan_name": "my-plan",
"public_network_access": "Enabled",
"resource_group": "my-rg",
"state": "Running",
"tags": {},
"url": "https://my-web-app.azurewebsites.net",
"usage_state": "Normal"
}