-
Hi i would need help as i have a server which can only get into the Internet through a proxy. And when i run the WorkspaceConfigToDCRMigrationTool.ps1 script i fail @ I have a system proxy set under Proxy in settings as also set it via netsh And even set env http_proxy is there any way to run the WorkspaceConfigToDCRMigrationTool.ps1 with the option to direct give an proxy tag like in as when i run managment.azure.com:443 via curl AND proxy tag it can reach it but for the command connect-AZAccount i cant find the option to give it the tag --proxy so that it could work. Or am i doing something completly wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
set your proxy like this in the Powershell [System.Net.Http.HttpClient]::DefaultProxy = New-Object System.Net.WebProxy('http://IPAdress:PORT') works like a charm |
Beta Was this translation helpful? Give feedback.
set your proxy like this in the Powershell
[System.Net.Http.HttpClient]::DefaultProxy = New-Object System.Net.WebProxy('http://IPAdress:PORT')
works like a charm