Azure / Azure/Azure-Workload-Backup-Troubleshooting-Scripts
Connectivity Tests HTTP Proxy Output
- Dominant language
- PowerShell
- Stars
- 2
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
When running this script behind a HTTP proxy and with HTTP proxy settings properly configured, I still couldn't succeed on integrating my Azure Windows VM with Azure Backup Service, in order to perform Azure Backup for SQL Server.
As I can understand, the proxy settings need to be configured system-wide, i.e., not only to the logged user but also to the `NT Authority\System` and `NT Service\AzureWLBackupPluginSvc` users, used by the Azure Workload Backup Plugin.
On the `Get-ProxySettings.ps1`, there is a verification on the Windows Registry Key `ProxySettingsPerUser` on `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings` in order to check if proxy configurations are assigned system-wide. According to the script, system-wide configurations (meaning, every user gets the same configs) are enabled when this Registry Key either not exists or is assigned with the `0` value.
`Logger "Are Proxy Settings common for all users: $(( $proxyPerUser.GetValue('ProxySettingsPerUser') -eq "0") -or ( $proxyPerUser.GetValue('ProxySettingsPerUser') -eq $null))"`
After a few tests, I've only managed to integrate my VM with Azure Backup by explicitly setting the Registry Key to 0, because it doesn't exist by default.
In a nutshell, my question is if the testing script should only confirm system-wide http proxy configurations with the registry key properly set to 0.
Thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.