From dd12204800c3f29e7dc57c9272e556fb9673f3df Mon Sep 17 00:00:00 2001 From: Pieter Vanhove Date: Tue, 4 May 2021 09:25:27 +0200 Subject: [PATCH] Removed the remove script command --- .../features/security/contoso-hr-sql-db/setup/setup.ps1 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/samples/features/security/contoso-hr-sql-db/setup/setup.ps1 b/samples/features/security/contoso-hr-sql-db/setup/setup.ps1 index 9497fefb..a846c205 100644 --- a/samples/features/security/contoso-hr-sql-db/setup/setup.ps1 +++ b/samples/features/security/contoso-hr-sql-db/setup/setup.ps1 @@ -46,12 +46,6 @@ New-AzResourceGroupDeployment ` -sqlAdminPassword $sqlAdminPassword ` -clientIP $clientIP -###################################################################### -# Clean up not needed resources -###################################################################### - -Remove-AzDeploymentScript -ResourceGroupName $resourceGroupName -Name "${projectName}script" - ###################################################################### # Populate the database with data ###################################################################### @@ -161,4 +155,4 @@ Write-Host -ForegroundColor "green" "Resource group name: $resourceGroupName" Write-Host -ForegroundColor "green" "Database server name: $serverName" Write-Host -ForegroundColor "green" "Database name: $databaseName" Write-Host -ForegroundColor "green" "Attestation URL: $attestationUrl" -Write-Host -ForegroundColor "green" "Application URL: https://$($app.HostNames[0].ToString())" \ No newline at end of file +Write-Host -ForegroundColor "green" "Application URL: https://$($app.HostNames[0].ToString())"