Has anyone encountered: “Error: An unexpected error occurred invoking “startTwoFactorPipeline” on the server.”?
That did the trick! This is indeed a local machine. Thank you so much for taking the time to help!
Update … solved this error by editing the permissions for the system level DefaultAppPool user using SSMS tool for SQL Server. The user needs role membership to: db_data_reader, db_data_writer, and db_ddladmin. Now I can login and reset the default admin user password.

I’m also facing this problem, and bumping the thread in the hopes that someone has found a fix. I’ve just created a local development instance, and like @mikezeiser, am encountering this error at initial login.
I think the only thing notable about my instance creation is that ran into the issue described here ( “Login Failed for user 'IIS APPPOOL\DefaultAppPool") https://stackoverflow.com/questions/53726493/app-pool-login-failed-message-in-new-acumatica-version. The solution given in that thread did not work for me, but I followed instructions found here https://learn.microsoft.com/fr-ca/archive/blogs/ericparvin/how-to-add-the-applicationpoolidentity-to-a-sql-server-login to add a SQL Server login for the DefaultAppPool. After that, I was at least able to load the Acumatica login page, but, alas, unable to log in.
My response was crafted with AI assistance, tailored to provide detailed and actionable guidance for your query.
-
Check Two-Factor Authentication Setup:
- Ensure 2FA is enabled correctly in the system configuration.
- Verify the user's 2FA settings under their account configuration.
-
Review Server Configuration:
- The error suggests a potential server-side issue. Check if the 2FA pipeline is correctly configured in the application server or authentication service.
-
Inspect Network or Firewall Settings:
- Ensure that all required endpoints for 2FA are reachable, especially if the service uses external providers (e.g., Google Authenticator or SMS services).
-
Check Logs:
- Review the server logs for more detailed error messages. This can help identify if the issue is due to a missing configuration, timeout, or integration problem.
-
Restart Services:
- If changes were made recently to the authentication settings, a restart of the relevant Acumatica services might resolve the issue.


I have just now. Trying to spin up a local instance for development purposes and am getting this error on initial login. Did you find a solution?
Hi
Same problem as
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.