https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IyNzAzIiwiaGFzaCI6ImFmZDA1NzQ0LWU1YmMtNGEyMi1iMzllLTgwNzU0MWZiYWViMCJ9
1-800-691-1991 | 9am - 8pm ET
EN

Configure Veeam Backup for Microsoft Office 365 to use an HTTP proxy

Challenge

An HTTP proxy is required by a corporate security policy, and Veeam Backup for Microsoft Office 365 fails to run any backups or add Office 365 organizations to its scope because of the proxy.

Solution

Currently only non-transparent proxies without user authentication are supported
To make Veeam Backup for Microsoft Office 365 use an HTTP proxy, the following must be done:
  1. Using the netsh command, a system proxy must be configured in order for Exchange Online PowerShell to work properly. Please start an elevated cmd.exe and input:
    Netsh
    Winhttp
    Set proxy <proxyFQDNorIP>
    netsh
  2. Ensure that no Backup or Restore jobs are running, then stop both the Veeam Backup for Microsoft Office 365 Service and the Veeam Backup Proxy for Microsoft Office 365 Service
  3. Navigate to %ProgramData%\Veeam\Backup365
  4. Edit Config.xml, adding <Ews UseSystemProxy="True" /> under <Veeam>, but above <Archiver>
    config.xml
  5. Do the same thing with Proxy.xml
    proxy.xml
  6. Navigate to the Veeam Backup for Microsoft Office 365 installation path (by default %ProgramFiles%\Veeam\Backup365), edit the file Veeam.Archiver.Service.exe.config,and add the following lines under <configuration>:
     
    <system.net>
    <defaultProxy>
    <proxy proxyaddress="http://yourproxyFQDNorIP:port" usesystemdefault="true" />
    </defaultProxy>
    </system.net>

    service config
  7. And the same thing for Veeam.Archiver.Proxy.exe.config
    proxy_config
  8. Pay attention to proxy address format‘http://yourproxyFQDNorIP’ and ‘port’ are mandatory, otherwise you will see errors like this one
    error
If you are using a remote backup proxy, then steps 1, 5, and 7 should also be repeated there, yet Veeam.Archiver.Proxy.exe.config will be in %WinDir%\Veeam\Backup365Proxy.
KB ID:
2703
Product:
Veeam Backup for Microsoft Office 365
Version:
1.5.0.1318, 2.0.0.x
Published:
2018-08-10
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.