This is my process as we deploy TeamViewer at this location, it has worked on all machine except three (out of 72).  Sometimes it takes a bit of time for AssignmentData.json to show up but it does.
 here is my process
 I run TeamViewer_Host-xxxxxxxxx.msi
Wait for AssignmentData.json to show up in ${ProgramFiles}\TeamViewer\
Run teamviewer.bat
 
On three machines AssignmentData.json never gets created therefore the bat file fail with file not found.
 The bat file contains only:
 TeamViewer_Assignment.exe -apitoken xxxxxxxxxxxxxxxxxxxxx -datafile "${ProgramFiles}\TeamViewer\AssignmentData.json"
Pause
 
its worked 69 times but will not create the file on these few machines.  I have looked thru all the logs and see nothing that tells me why. 
 I have cleared the registry of all teamviwer entries as well as this will cause the file not to be created.
I am at a loss as what to try next.