Custom MSI installation - client not added to group

idemarco Posts: 7 ✭✭

we use a custom MSI host + script for installing Teamviewer14 (14.1.9025) on our corporate PCs.
I noticed that newly installed clients often are not added to group, it's like the assignment just fails, so we must add them manually, yet the corporate criteria is not assigned anyway.
This happens when the host is installed "offline" (quite fair..) but recently seems happening even with the PC is connected, and the cases are increased.

What's the reason? How the missed assignment can be fixed, especially on client side?

Please help!