You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New-AzTenantDeployment, Test-AzTenantDeployment, and Get-AzTenantDeploymentWhatIfResult take -Location plus the resource group deployment template and parameter inputs (-TemplateFile, -TemplateUri, -TemplateSpecId, -QueryString, -ParametersFile, -ParametersUri, -Parameter, -ValidationLevel). -Name is optional and defaults to a generated GUID. Tenant deployments always use Incremental mode, so there is no -Mode.
New-AzTenantDeployment validates before deploying and waits for the deployment to finish. -NoWait returns the initial DeploymentExtended once the deployment is submitted; it does not create a PowerShell job.
Test-AzTenantDeployment outputs DeploymentValidateResult and throws on validation errors. Get-AzTenantDeploymentWhatIfResult outputs the raw what-if result and accepts -ResultFormat (FullResourcePayloads or ResourceIdOnly).
Get-AzTenantDeployment lists every tenant deployment, gets one by -Name, or lists with an OData -Filter.
Save-AzTenantDeploymentTemplate writes the exported template to -Path (default: the current location) and requires -Force to overwrite an existing file.
Legacy *-AzSubscriptionDeployment and Save-AzSubscriptionDeploymentTemplate names are accepted as aliases
Stop-AzSubDeployment, Remove-AzSubDeployment, Get-AzSubDeployment, and Save-AzSubDeploymentTemplate accept a deployment piped from Get-AzSubDeployment (-InputObject) and use the subscription in its Id; -PassThru on Stop/Remove outputs true when the cancel or delete runs
New-AzSubDeployment reports the deployment's ARM error, up to 3 failed operation errors, and the correlation id when the deployment fails
New-AzSubDeployment validates the deployment before submitting it and throws Deployment validation failed. without creating a deployment when validation fails
Added Get-AzSubDeploymentWhatIfResult to preview subscription-scope deployment changes
The legacy Get-AzSubscriptionDeploymentWhatIfResult name is accepted as an alias
The preview always uses Incremental mode (no -Mode), -Name is optional, and -ResultFormat selects FullResourcePayloads or ResourceIdOnly
When -Name is omitted, New-AzSubDeployment, Test-AzSubDeployment, Test-AzResourceGroupDeployment, and Test-AzManagementGroupDeployment name the deployment after the template file or URI instead of a GUID
A GUID is still used when no template file or URI is given, or the derived name is not a valid deployment name