In Xcode, when I try to Product > Archive > Validate App I get the error:
Product > Archive > Validate App
No accounts with iTunes Connect access have been found fo
UPDATE XCODE 10
September 2019
If closing Xcode doesn't work, try logging out and logging in with the Apple Developer Account, which may not be the same as the iCloud account in many cases.
These two steps would solve 95% of these error cases.