I'm running a build from TFS build agent cloud machine (BuildAgent01) that should run a Coded UI unit tests using a testsettings file which is configured to a test controller. Both my test controller and the test agent are installed on another cloud machine (Automation). Both machines are in workgroup. Agent is configured to interactive process. When I configure my testsettings file as "Local execution with remote collection" I can run my test with the controller. When I'm running the build I get this message:
Test run 'Administrator@BUILDAGENT01 2017-03-21 09:59:46' could not be executed. Failed to queue test run to the controller that collects data and diagnostics: Automation. No such host is known
I guess the Administrator@BUILDAGENT01 is not recognized in the Automation machine but I'm not sure what I should do.
TFS, test controller and agent are 2017, Visual Studio is 2015.
I can telnet between both machines and the firewalls are down for now.
These are my controller and agent settings:

this is my testsettings file:
 <?xml version="1.0" encoding="UTF-8"?>
<TestSettings name="TestSettingDistributedTestWalkthrough" id="112ff656-58fb-4450-8456-5764f3ef2b14" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
  <Description>Distributed test settings.</Description>
  <Deployment>
    <DeploymentItem filename="C:\Work\3rd Party\Oracle.ManagedDataAccess.dll" />
  </Deployment>
  <RemoteController name="Automation" />
  <Execution>
    <TestTypeSpecific>
      <UnitTestRunConfig testTypeId="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b">
        <AssemblyResolution>
          <TestDirectory useLoadContext="true" />
        </AssemblyResolution>
      </UnitTestRunConfig>
      <WebTestRunConfiguration testTypeId="4e7599fa-5ecb-43e9-a887-cd63cf72d207">
        <Browser name="Internet Explorer 10.0" MaxConnections="6">
          <Headers>
            <Header name="User-Agent" value="Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)" />
            <Header name="Accept" value="*/*" />
            <Header name="Accept-Language" value="{{$IEAcceptLanguage}}" />
            <Header name="Accept-Encoding" value="GZIP" />
          </Headers>
        </Browser>
      </WebTestRunConfiguration>
    </TestTypeSpecific>
    <AgentRule name="LocalMachineDefaultRole">
    </AgentRule>
  </Execution>
  <Properties />
  <CollectionOnlyAgents>
    <AgentRules>
      <AgentRule name="Distributed test">
      </AgentRule>
    </AgentRules>
  </CollectionOnlyAgents>
</TestSettings>