It is not posible to connect a Test Controller/Agent to Azure DevOps or TFS 2018+. This is deprecated and a new solution using Azure Pipelines has been created.
You can then run tests directly from the Azure Test Plans page.
Find the full docs here: https://docs.microsoft.com/en-us/azure/devops/test/run-automated-tests-from-test-hub?view=vsts