Sidebar

Announcement

Ahsay Backup Software

Backup Set Types

Supported Storage

Features in OBM / ACB

Features in CBS

Brand and Customize

License

Documentation

Performance Testing

FAQs and Known Issues

Can't Find What You Need?

public:8077_failed_to_login_to_office_365_serviceexception_forbidden_response_code_403

This is an old revision of the document!


ISSUE: Cannot connect to Office 365 on the backup set, reason = "Failed to login to Office 365, reason = [ServiceException] Message = Forbidden, response code = 403" (Office 365 create backupset)

Article ID: 8077
Reviewed: 20/04/2020

Product Version:
AhsayCBS / AhsayOBM /AhsayACB 8.1.0.0 or above
OS: All Platforms

Problem Description

When creating an Office 365 backupset on either AhsayCBS, AhsayOBM, or AhsayACB the following warning message is shown on the AhsayCBS, AhsayOBM, or AhsayACB UI:

Cannot connect to Office 365 on the backup set, reason = "Failed to login to Office 365, reason = [ServiceException] Message = Forbidden, response code = 403"

Example: Warning shown in AhsayCBS web console during a Run On Server (Agentless) backupset creation

Cause

The message is returned by Microsoft Office 365, it occurs when the IP address of the AhsayCBS, AhsayOBM, or AhsayACB machine where the Office 365 backup set is been 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 AhsayCBS, AhsayOBM, or AhsayACB machine where the backup set is created to the IP Allowed List.

  1. Login to office 365, click on Admin icon to access to Microsoft 365 admin center


  2. Then 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]


Please refer to the Microsoft Documentation for details

Keywords

response code = 403, connection filter, allow IP address, whitelist, Forbidden

public/8077_failed_to_login_to_office_365_serviceexception_forbidden_response_code_403.1587454045.txt.gz · Last modified: 2020/04/21 15:27 by yuk.cheng

Page Tools