Skip to content

Commit 6a25106

Browse files
Fix basic uri parsing error
1 parent 9bf04d2 commit 6a25106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Agent/Lib/InstallAgent-Core.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3082,7 +3082,7 @@ function RequestAzWebProxyToken {
30823082
$Uri = "https://$($Config.AzNableProxyUri)/api/Get?Code=$($Config.AzNableAuthCode)&ID="
30833083
try {
30843084
$Uri += "$($Install.ChosenMethod.Value)"
3085-
$Response = (Invoke-WebRequest -Method GET -Uri $Uri).Content
3085+
$Response = (Invoke-WebRequest -Method GET -Uri $Uri -UseBasicParsing).Content
30863086
}
30873087
catch {
30883088
$Out = "Error retrieving token from $Uri using $($Install.ChosenMethod.Name)"

0 commit comments

Comments
 (0)