I've made a script to enroll Teamviewer Host msi installer with automatic account assignment with this paramenters: CUSTOMCONFIGID=xxx IMPORTREGFILE=1 APITOKEN=xxx DESKTOPSHORTCUTS=0 ASSIGNMENTOPTIONS="--group Default --alias %COMPUTERNAME% --reassign"
Everything works fine.
Now I tried to make the same with Teamviewer Full Client, but It does not work. Only thing I replaced is the MSI Package, everything else is the same.
I opened a ticket and they told me, msi assignment "the new way" only works for the host. Full client has to be assigned the old way.
This is what I have thus far that works like a charm. Yes those are double dashes "--". Technically you do not need the "importregfile=1" as long as the file is in the same location that the MSI is in.
msiexec.exe /i TeamViewer.msi /qn importregfile=1
"C:\Program Files (x86)\TeamViewer\TeamViewer.exe" assign --api-token <YOUR API TOKEN> --group "GROUP NAME" --grant-easy-access --alias %COMPUTERNAME%