How to fix problems with configuring connectors or removing your tenants when using MFA

Problem:

You have an Office 365 tenant in which you have multi-factor authentication (MFA) enabled for the global admin account. The global admin's credentials are used to add and manage this tenant in CodeTwo Email Signatures for Office 365. When you try to automatically create Exchange Online connectors for your tenant via CodeTwo Admin Panel, the connectors' configuration wizard fails (Fig. 1.) and you see the following (or similar) error:

Connecting to remote server ps.outlook.com failed with the following error message: [ClientAccessServer=XXXXX,BackEndServer=YYYYY,RequestId=ZZZZZ, TimeStamp=MM/DD/YYYY H:MM:SS PM] Access Denied For more information, see the about_Remote_Troubleshooting Help topic.

608-1
Fig. 1. The program's wizard fails to automatically configure Exchange Online connectors.

Running the configuration wizard again does not fix this issue.

A similar problem occurs when you try to deregister your tenant from CodeTwo Admin Panel (Fig. 2.).

608-2
Fig. 2. The program's wizard fails to deregister your tenant.

Solution:

The problem occurs when multi-factor authentication is enabled for the global admin account of your Office 365 tenant.

To fix the problem with creating Exchange Online connectors or transport rules for your Office 365 tenant, you can:

  • use the app password instead of your regular Office 365 password (learn more),
  • configure the connectors and transport rules manually, as described in this article, or
  • temporarily disable the MFA mechanism for the global admin account of your tenant and restart the connectors' configuration wizard (not recommended).

To deregister your tenant from the program, you have the following options available:

  • use the app password instead of your regular Office 365 password (learn more),
  • temporarily disable MFA for the global admin account of your tenant and deregister the tenant.

See also:

MS article on managing multi-factor authentication for Office 365 users