Cannot integrate with TFS
I'm struggling settings up integration with a TFS server. I manually enter the URL and token.
I'm not sure about the correct form of the URL
- if I enter 'https://ourtfs/tfs' it fails everytime with unhelpful message 'Unable to connect to server.'
- if the URL does not contain a query string (?something=) it fails everytime
- if I add arbitrary query string it 'https://ourtfs/tfs?query=' it succeeds if the token has all scopes allowed (not only the "Code (read and write)" as documented)
- if I add further identifiers to the URL 'https://ourtfs/tfs/somecollection/someproject/_git?query=' it succeds if the token has just the documented "Code (read and write)" scope allowed
So, the last option seems fine. However, on the next page, I select a POEditor project and language and click the 'Link to a VSTS/TFS file' button. I'm prompted to select a collection but the collection list is empty (doesn't matter if the token is generated by me or our TFS server admin).
Can you please help me?
Thanks!
-
Martin Strachota commented
Hello, I've sent you an email. Could you please explain further the tenant issue? I'm logged in to my company's TFS server (on-premise) with my domain account. I can't really use any other account. I have read/write access to several projects on the TFS server. Our TFS admin even generated a token for me with his account with the same result. Thank you for looking into this!
-
Hi,
For the last part, looks like a tenant problem. Make sure you're logged in with the right tenant. This is a recurring problem due to a questionable UI decision from Microsoft.
For the first part, with the URL, we will have to look at it. Can you please send us an email with the URLs you tried?
Thank you.