Microsoft 365 Backup/Recovery Requires Direct Internet Access

Product version: 11.0

Last modified: 31 July 2025

Problem

Microsoft 365 backup or recovery jobs may fail or hang when run in environments with a proxy server:

  • Connection timeouts during Microsoft 365 account authorization

  • Failed data retrieval for mailboxes, OneDrive, or Teams

  • Job logs showing errors such as:

    • Connect timed out to get Office 365 code

    • Unauthorized

    • Unable to resolve host

Background

All Microsoft 365 communications, including authentication, API calls, and service discovery, require direct internet access from both the Director and Transporter. Proxy-based internet access is not supported, even with exclusions or passthrough configurations.

Solution

To ensure stable and successful Microsoft 365 backup and recovery, follow these steps:

  1. Confirm that both the Director and Transporter have direct access to the Internet. Proxy-based connections are not supported.

  2. From the system running the Transporter, use terminal commands to check connectivity to Microsoft 365:

curl -I https://login.microsoftonline.com

A successful HTTP 200 response confirms that access is proper. A timeout, 403, or SSL error indicates that settings need adjustment.