MFA-enabled Office 365 admin accounts will not allow you to configure Server-side via Web console. This is only possible via Powershell. This article describes how to configure Xink rerouting for Office 365 using Exchange Online PowerShell without disabling your admin account's Multi-Factor Authentication.
How to configure rerouting for Office 365 using PowerShell
1. Install Exchange Online Remote PowerShell Module.
a. In the Exchange Admin Center, go to Hybrid > Setup and click the Configure button to download the Exchange Online Remote PowerShell Module for Multi-Factor Authentication.
b. In the Application Install window that opens, click Install.
2. Download the Xink PowerShell Script and save it to a local drive. (Ex. D:\Xink\MFA Test).
3. Launch the Microsoft Exchange Online PowerShell Module and run the below commands.
a. Enter your Xink Admin credentials once prompted.
$xinkCred = Get-Credential
b. Go to the folder where you saved the PowerShell script. (ex. CD D:\Xink\MFA Test) and run the below command. You will be asked to log into your Office 365 portal through MFA.
.\xink-rerouting.ps1 -UseMFA -XinkCredential $xinkCred -O365LogonEmail "firstname.lastname@example.org" -Create
The screenshot below shows the result of the script that ran successfully.