I assume this is due to the Typekit dialog that comes up every time a missing font is detected along with InDesign CC, CC 2014 and CC 2015. As far as I know there is no solution to this by scripting, but to disable or to remove the whole Typekit functionality (if that is possible at all—I never tried this).
See the following threads here:
Maybe you can find something here, that would work on your own machine but apparently not on a client machine:
I could be wrong, but I think, one simply has no access by script to the Creative Cloud Desktop App…
If you'll find a solution, please post it here.
i try test with indesign cc 2014,2015, they not show message.
Since I'm on Mac OSX I cannot test that.
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
I cannot make the missing fonts dialog go away.
Just tested with InDesign CC v9.3.0 and CC 2017 v126.96.36.199 on Mac OSX 10.10.5.
So I'm sorry, I cannot help further…