When deploying a TeamViewer host via MSI and the MSI parameters CUSTOMCONFIGID and APITOKEN set to the values from the custom module the policy gets applied fine if the client is directly connected to the internet.
If the client is connected to our internal LAN and only has a connection to the internet via a proxy the connection to our Tensor console is successful and the client is shown online but no policies are getting applied.