====== ISSUE: Cannot connect to Office 365 on the backup set, reason = "Failed to login to Office 365, reason = [ServiceException] Message = Forbidden, response code = 403" ====== Article ID: 8077
Reviewed: 20/04/2020

Product Version:
CloudBacko Pro / Lite: 8.1.0.0 or above
OS: All platforms ===== Problem Description ===== When creating an Office 365 backup set on CloudBacko Pro / Lite, the following warning message is displayed: Cannot connect to Office 365 on the backup set, reason = "Failed to login to Office 365, reason = [ServiceException] Message = Forbidden, response code = 403"** ===== Cause ===== This issue can occurs when the IP address of the CloudBacko Pro / Lite client computer where the Office 365 backup set was being created has not been added to the "IP Allowed List" under the "Connection Filter" in the Microsoft Office 365. ===== Resolution ===== To resolve this issue, add the IP address of the CloudBacko Pro / Lite computer (where the backup set was being created) to the "IP Allowed List".
  1. Login to office 365, click on Admin icon to access to Microsoft 365 admin center.


  2. Click on Exchange to access the Exchange admin center


  3. Click on connection filter


  4. Click on the pencil icon to edit the default connection filter policy


  5. Under the IP Allow list, click the + sign to add your IP address and click [Save]

Refer to the following Microsoft Document for more details:
https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/configure-the-connection-filter-policy?view=o365-worldwide ===== Keywords ===== response, 403, connection filter, allow, ip, addr, address, whitelist, forbidden