Access denied when attempting to join host to account with script
I'm having issues with a script that installs a custom TeamViewer MSI, then joins the host to the corporate account.
The install part goes fine, I then have a pause for 20 seconds as it seems to take this long for Teamviewer to connect to the internet and create the "assignmentdata.json" file.
After this I call the Teamviewer_assignment.exe with the switches required, but i get access denied on the "assignmentdata.json".
This is using the local administrator account.