2FA with scripted install and registration

Options

Good day!

I haven't found an answer to this yet, but TeamViewer is part of a scripted install that includes registration. The account that does the registration had two factor authentication enabled, and that broke the registration process. The computers are being added to the account, but are not getting added to a computer group and receiving the list of authorized emails that can connect.

Is it possible to have the systems register fully without requiring 2FA on that account, or does a login need to be created solely for registration without 2FA enabled on it?

Thank you.