---
title: "Deploy Azure Web App"
---
Deploys an Azure Web App.
Azure::Deploy-AzureWebApp(
Name: <text>,
[Slot: <text>],
[Type: <text>],
Source: <text>,
[Target: <text>],
[DeleteAdditionalFiles: <true/false>],
[WaitForCompletion: <true/false>],
[Arguments: <text>],
[From: <text>],
[ResourceGroupName: <text>],
[TenantId: <text>],
[ApplicationId: <text>],
[Secret: <text>],
[AzPath: <text>]
);
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
☆ Web App Name | text | Name | This argument is required. |
Slot | text | Slot | |
Type | text | Type | |
☆ Artifact Source | text | Source | This argument is required. |
Target Location | text | Target | This will only be used when deploying a static file to a target. |
Delete Additional Files | true/false | DeleteAdditionalFiles | Default value is "true". |
Wait for Deployment to Complete | true/false | WaitForCompletion | Default value is "true". |
Additional arguments | text | Arguments | Raw command line arguments to pass to the Azure CLI. |
From Azure Service Principal | text | From | |
Resource Group Name | text | ResourceGroupName | Not specifying will "Use resource name from Azure resource group". |
Tenant ID | text | TenantId | Not specifying will "Use resource name from Azure service credential". |
Application ID | text | ApplicationId | Not specifying will "Use resource name from Azure service credential". |
Secret | text | Secret | Not specifying will "Use resource name from Azure service credential". |
AZ CLI path | text | AzPath | Full path to az on the server. Default value is "$AzPath". |