From 7af75762c847979c5c18ef97698436466e5f4499 Mon Sep 17 00:00:00 2001 From: Eli Forbes Date: Thu, 10 Jun 2021 16:17:32 -0700 Subject: [PATCH] Minor Template Creation Fixes --- Tools/Create-Azure-Sentinel-Solution/createSolution.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/Create-Azure-Sentinel-Solution/createSolution.ps1 b/Tools/Create-Azure-Sentinel-Solution/createSolution.ps1 index d6be4ad64b..0c494dba00 100644 --- a/Tools/Create-Azure-Sentinel-Solution/createSolution.ps1 +++ b/Tools/Create-Azure-Sentinel-Solution/createSolution.ps1 @@ -511,6 +511,7 @@ foreach ($inputFile in $(Get-ChildItem $path)) { name = "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/',parameters('connector$connectorCounter-name'))]" apiVersion = "2021-03-01-preview"; type = "Microsoft.OperationalInsights/workspaces/providers/dataConnectors"; + location = "[parameters('workspace-location')]"; kind = "GenericUI"; properties = [PSCustomObject]@{ connectorUiConfig = [PSCustomObject]@{ @@ -1000,5 +1001,5 @@ foreach ($inputFile in $(Get-ChildItem $path)) { Write-Output "Missing arm-ttk validations. Downloading module..." Invoke-Expression "$armTtkFolder/download-arm-ttk.ps1" } - Invoke-Expression "$armTtkFolder/run-arm-ttk-in-automation.ps1 $($solutionName.replace(' ',''))" + Invoke-Expression "$armTtkFolder/run-arm-ttk-in-automation.ps1 $solutionName" } \ No newline at end of file