Maintain control of your Microsoft 365 data
Post Reply
mjr.epicfail
Veeam Legend
Posts: 546
Liked: 149 times
Joined: Apr 22, 2022 12:14 pm
Full Name: Danny de Heer
Contact:

Add proxy via API, disregarding proxy setting

Post by mjr.epicfail »

Hi all,

The property usinternetproxy is disregarded when using the REST API.
The gui also shows use interproxy from mgmt server.

Example body:

Code: Select all

$payload = @{
    hostName = xxxxx
    operatingSystem = "Linux"
    useInternetProxy = $false
    description = 'Linux VB365 Proxy'
    port = "9193"
    serviceAccountName = "veeam365backup"
    createServiceAccount = $true
    enableNetworkThrottling = $false
    sshSettings = @{
        account = xxxx
        privateKeyBase64 = $base64Key
        privateKeyPassphrase = $pkpassword
        #publicBase64Key = $publicBase64Key
        port = 22
        connectionTimeout = 30
        elevateAccountToRoot = $true
        addToSudoers = $false
        UseSuIfSudoUnavailable = $false
        ignoreFingerprintCheck = $true
    }
    attachUsedProxy = $false

}
$body = $payload | ConvertTo-Json -Depth 3

Code: Select all

type                    : Workgroup
useInternetProxy        : True
internetProxyType       : FromManagementServer
operatingSystem         : Linux
id                      : xxxx
hostName                : xxxxx
fqdn                    : xxxxx
description             : Linux VB365 Proxy
port                    : 9193
enableNetworkThrottling : False
status                  : Online
maintenanceModeState    : Disabled
cpuUsagePercent         : 5,012531328320802
memoryUsagePercent      : 6,573738896429199
version                 : 8.1.2.180
serviceAccount          : veeam365backup
role                    : {}
_links                  : @{self=; repositories=}

VMCE / Veeam Legend 2*
Mildur
Product Manager
Posts: 10750
Liked: 2921 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Add proxy via API, disregarding proxy setting

Post by Mildur »

Hi Danny

Sounds like a potential bug.
Do you have a case number for me which I can escalate to QA?

Best,
Fabian
Product Management Analyst @ Veeam Software
mjr.epicfail
Veeam Legend
Posts: 546
Liked: 149 times
Joined: Apr 22, 2022 12:14 pm
Full Name: Danny de Heer
Contact:

Re: Add proxy via API, disregarding proxy setting

Post by mjr.epicfail »

Hi Fabian,

I will when I got the time to test this again.
VMCE / Veeam Legend 2*
mjr.epicfail
Veeam Legend
Posts: 546
Liked: 149 times
Joined: Apr 22, 2022 12:14 pm
Full Name: Danny de Heer
Contact:

Re: Add proxy via API, disregarding proxy setting

Post by mjr.epicfail »

Hi Fabian,

Just checked the logs. While I do see the the request being handled, the results (which differs in reality) is not logged.
VMCE / Veeam Legend 2*
Polina
Veeam Software
Posts: 3596
Liked: 862 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Add proxy via API, disregarding proxy setting

Post by Polina »

@mjr.epicfail

Could you please open support case and share your finding with our engineers? They should escalate it next to the RND for fixing.

Thanks!
mjr.epicfail
Veeam Legend
Posts: 546
Liked: 149 times
Joined: Apr 22, 2022 12:14 pm
Full Name: Danny de Heer
Contact:

Re: Add proxy via API, disregarding proxy setting

Post by mjr.epicfail » 1 person likes this post

Case created: 07791539
VMCE / Veeam Legend 2*
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests