From 62b38233c90fc35ea64fb648d1eaaed0a53845d1 Mon Sep 17 00:00:00 2001 From: Eli Forbes Date: Wed, 1 Dec 2021 15:35:07 -0800 Subject: [PATCH] Solution Automation - Remove Emoji Handling --- Tools/Create-Azure-Sentinel-Solution/createSolution.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tools/Create-Azure-Sentinel-Solution/createSolution.ps1 b/Tools/Create-Azure-Sentinel-Solution/createSolution.ps1 index fcee8ba5fc..cbf6744fa4 100644 --- a/Tools/Create-Azure-Sentinel-Solution/createSolution.ps1 +++ b/Tools/Create-Azure-Sentinel-Solution/createSolution.ps1 @@ -143,8 +143,7 @@ foreach ($inputFile in $(Get-ChildItem $path)) { $baseMainTemplate.parameters | Add-Member -MemberType NoteProperty -Name "formattedTimeNow" -Value $timeNowParameter } try { - # Handle non-ASCII characters (Emoji's) - $data = $rawData -replace "[^ -~\t]", "" + $data = $rawData # Serialize workbook data $serializedData = $data | ConvertFrom-Json -Depth $jsonConversionDepth # Remove empty braces