diff --git a/d365fo.tools/internal/functions/start-lcsuploadv2.ps1 b/d365fo.tools/internal/functions/start-lcsuploadv2.ps1 index 0cd9c6d5..e3c29d40 100644 --- a/d365fo.tools/internal/functions/start-lcsuploadv2.ps1 +++ b/d365fo.tools/internal/functions/start-lcsuploadv2.ps1 @@ -120,18 +120,11 @@ function Start-LcsUploadV2 { begin { Invoke-TimeSignal -Start - if ($Description) { - $jsonDescription = $Description - } - else { - $jsonDescription = $null - } - $fileTypeValue = [int]$FileType $jsonPayload = @{ Name = $Name FileName = $Filename - FileDescription = $jsonDescription + FileDescription = $Description SizeByte = 0 FileType = $fileTypeValue } | ConvertTo-Json