Skip to content

Commit

Permalink
cleanup delete scripts (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
pallar-ms authored Jun 9, 2021
1 parent ca59e2f commit 85e4d0f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 957 deletions.
65 changes: 0 additions & 65 deletions deploy/scripts/Delete-IomtFhirSandboxAuthConfig.ps1

This file was deleted.

11 changes: 0 additions & 11 deletions deploy/scripts/Delete-IomtFhirSandboxEnvironment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ param

Set-StrictMode -Version Latest

# Get current AzureAd context
try {
$tenantInfo = Get-AzureADCurrentSessionInfo -ErrorAction Stop
}
catch {
throw "Please log in to Azure AD with Connect-AzureAD cmdlet before proceeding"
}

# Get current Az context
try {
$azContext = Get-AzContext
Expand All @@ -28,8 +20,5 @@ catch {
throw "Please log in to Azure RM with Login-AzAccount cmdlet before proceeding"
}

# Set up Auth Configuration and Resource Group
./Delete-IomtFhirSandboxAuthConfig.ps1 -EnvironmentName $EnvironmentName

# Wipe out the environment
Get-AzResourceGroup -Name $EnvironmentName | Remove-AzResourceGroup -Verbose -Force
Loading

0 comments on commit 85e4d0f

Please sign in to comment.