In TOS: The Cloud Minders, Spock and Scotty are ordered to teleport the "High Advisor" (a senior planetary government official) from a location in a city to the Enterprise.
The High Advisor gave no consent, he doesn't have a combadge on him and he could be anywhere in the city. So how did they locate him?