Error: Server was unable to process request. Two-factor authentication is enabled for this user

Created by Damien Zwillinger, Modified on Thu, 5 Oct, 2023 at 5:48 PM by Gabriel Michaud

Applies to:

  • Velixo NX
  • Velixo Classic
  • Every ERP


Overview

When the user attempts to perform a Velixo writeback to a system where the ERP is configured for multi-factor authentication (MFA) and the user establishes a Velixo Connection using username and password, the following message is displayed:

 

Excerpt text from the error:

 

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> PX.Data.PXException: Two-factor authentication is enabled for this user.  You cannot log in with this user account.

 

 

Cause

The MFA feature is built into the ERP and requires the user to allow connection from the related application on their mobile device after entering their password. 

 

When this style of authentication is enabled, the ERP disables the ability to log in using just a username/password through the ERP's Application Programming Interface (API).

 

(the Velixo add-in uses the API to send data to the ERP during writeback processes.)

 

 

 

Workaround

To use the ERP's MFA with the Velixo add-in, the Velixo Customization Project would need to be imported and published within the ERP and then used to configure Velixo to use the ERP's single sign-on feature.  

 

Then, it would be possible to log in through Velixo utilizing the same secure authentication button used by single sign-on users...


Velixo Classic

Velixo NX


... instead of entering a username and password directly in Excel.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article