Open juerchri opened 3 years ago
I can confirm the above behaviour is still present on Version (1.3.2204.19002) on Server 2019 Standard with latest patches.
This bug is the only thing holding us back from using this in our environment fully so please let me know if I can provide any information to help diagnose the issue.
After updating to version 2211 (1.4.2212.08003), this bug is still present but now doesn't seem to import them to the 'Personal Connections' either. No errors in the Event Log. Event that does get created is below. User running it is full admin on WAC & the server. This was run locally on an elevated command prompt.
Pipeline execution details for command line: add-type @" .
Context Information: DetailSequence=1 DetailTotal=1
SequenceNumber=36
UserId=DOMAIN\USERNAME HostName=ConsoleHost HostVersion=5.1.17763.3770 HostId=5921e7b3-a5c0-4c09-9178-4cd93e4fe404 HostApplication=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe EngineVersion=5.1.17763.3770 RunspaceId=1a101a0a-d9f0-41fe-b2c5-0d09aac41fba PipelineId=6 ScriptName=C:\Program Files\windows admin center\PowerShell\Modules\ConnectionTools\ConnectionTools.psm1 CommandLine=add-type @"
Details: CommandInvocation(Add-Type): "Add-Type" ParameterBinding(Add-Type): name="TypeDefinition"; value=" using System.Net; using System.Security.Cryptography.X509Certificates; public class TrustAllCertsPolicy : ICertificatePolicy { public bool CheckValidationResult( ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem) { return true; } }"
If you need this reported on the WAC Community page as the support link now directs you to, please let me know or can this be moved over to be actioned. I'm surprised there aren't more comments as this seems a key part to shared admin tools. Happy to provide any more info that's needed
Possibly related, the import command with the '-prune' switch can take a much longer time that the normal command. Normal = 5-10 seconds With Prune = 5+ Hours
Gateway Version: 1.3.2105.24004 (last few updates through auto-update functionality) running on Server2019 with latest patches
Steps to reproduce the behavior: Import CSV file with connections via "Import-Connection" cmdlet (specified Name, Server-Type, no Tags and "global" as groupID) - doesn't matter if -prune is used or not
Observed Issue
Additional troubleshooting info: When I set a personal connection in "all connections" and a shared connection in WAC settings and use "export-connection", the personal ones have no groupID and the shared one has tag "global", so export seems to work as expected but import is not differentiated.
Expected behavior