Get The Most Affordable Hosting in the World!

Starting at just $1.87/month, Vercaa offers unbeatable pricing for world-class web hosting services.

Fast, reliable, and secure hosting to power your website without breaking the bank. Plus, enjoy a free CDN for faster loading times worldwide!

Get Started Now!

Symptom

WHMCS fails to import emails using a Microsoft email service (for example, Microsoft Outlook® or Microsoft 365®).

Additionally, admins with the System email permission receive a POP3 Connection Error email with the following error detail:

Bad Request
 

Cause

The Redirect URI that you specified during app registration in the Microsoft Azure® Portal is invalid. It does not resolve to the callback handler file in your WHMCS installation.

This may be due to one of several causes:

  • The WHMCS System URL setting in WHMCS begins with http://.
  • You have misconfigured WHMCS's Friendly URL settings.
  • The WHMCS installation URL changed after you registered the app.

Solution

To resolve this issue:

1. Make certain that you have installed a valid SSL certificate on your website.

2. Update the WHMCS System URL setting to use https:// in the General tab at Configuration > System Settings > General Settings.

For more information on updating the system URL, see Updating the System URL.

3. Re-synchronise your .htaccess file and confirm that Full Friendly Rewrite mode operates correctly.

For more information, see Updating the .htaccess file.

4. Edit the support department at the Configuration > System Settings > Support Departments.

5. Under Mail Importing Configuration, copy the new Redirect URL value.

6. Update your app registration in the Microsoft Azure Portal to use the new redirect URL.

The redirect URL must use the following format, where example.com is your website and whmcs is the directory that stores WHMCS's files:

For more information, see Create Your Microsoft Azure Application.

 

 

The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.

Was this answer helpful? 1 Users Found This Useful (1 Votes)