MIcrosoft Feedback Client can't connect to Team Foundation Server - azure-devops

I have a problem with the MIcrosoft Feedback Client, and in general the Request feedback option in VSTS.
If I try to open a request from the notification email, the Feedback Client displays the following error:
Cannot connect to Team Foundation Server. Verify the network connection and try again.
However, if I simply launch it as an application, I got a popup first, where I need to pick the server, the team project collection and finally the project I'd like to connect to (it doesn't ask for login). This works just fine and the submitted feedback is displayed in VSTS, it can be queried, etc.
I removed all cookies and cleared browser cache from all browsers I use, also I checked if there's a false entry in Windows Credential Manager.
Any suggestions what I should try next?
update
We use Feedback Client for Microsoft Visual Studio Team Foundation Server 2015 downloaded from here

Make sure the account you use have the permission to access to the project and view the work items.
Feedback client use the credentials stored in Team Explorer. Try to delete the stored credentials from "Visual Studio -> Team -> Manage Connections -> Manage Connections -> Servers -> Remove" and then launch Feedback Client from email. A sign in dialog will pop up after this and you can enter your credential in it.
If it still does not work, clean all the TFS cache from "%LocalAppData%\Microsoft\Team Foundation\x.0\Cache" folder.
And also, check the link in the email to make sure it is correct. The link should like following:
mfbclients://xxxxxx.visualstudio.com/DefaultCollection/p:ProjectName?rid=FeedbackID

What version of the TFS Client are you using 2012, 2013 or 2015? I ran into a similar issue when we were using this on premise and I had to bump down to a lower version of the TFS Feedback Client.
Here is the TFS 2015 client.
https://www.microsoft.com/en-us/download/details.aspx?id=40768
I just tested mine to VSTS and it worked as expected.

Related

Device Login Page is not coming when entering TFS (Team Foundation Server) URL in Eclipse

I am trying to set up my Eclipse with my TFS Project (Team Explorer Everywhere). I am following the below documentation:
https://azuredevopslabs.com/labs/java/eclipsegit/
I am able to install the TFS Plugin. But as per the Step 10 in the documentation, I am not able to get the Device Login window post entering the TFS URL. After clicking on OK, the next expected window is not getting populated. The URL is correct as I am able to access the same through the browser. I have also tried by entering my credentials but still no luck. Can anyone help or suggest if I am missing anything.
If the Device Login windows does not pop up normally, it could be an issue with the plugin.
You can try to uninstall the TFS plugin and install TFS 14.135.0 to solve the problem.

VSTS error TF400813. Can't login. Where do I enter my VSTS credentials?

I'm working on a UWP project and wanted to check back in my code into Visual Studio Team Services. However, I can't. Visual Studio gave me an error saying that I was off line. I tried to go to manage my connections and connect to VSTS, but that failed, giving me this:
In the past there was always a link to reenter my credentials, but as you can see from the above error, there is no way of reentered my credentials. Going to Home doesn't work. Where do I reenter my credentials to my VSTS account?
With the help of Greg Duncan, I've got a way of fixing this. Thought I'd post it in case others experience the same problem.
In Visual Studio, go to Help, Register Product and then Sign Out (https://support.microsoft.com/en-us/help/2892152/-client-authentication-required-error-message-after-you-upgrade-from-p which is for VS 2013, but I’ve confirmed it looks the same in VS 2015 and VS 2017)
check with the permission of team services that you are in the readers or stakeholder access level.

Connect TFS 2017 create external TFS connection for TFS 2013

How can I add an external TFS Connection to TFS 2017 to allow it to connect to TFS 2013?
I navigated to http://tfsserver:8080/tfs/collection/team_project_name/_admin/_services?_a=resources and clicked New Service Endpoint. I selected External TFS
When I go to verify the connection after entering all the relevant information, I get the below error.
Failed to query service endpoint api: http://tfsserver:8080/tfs/collection/_apis/projects. Error Message: The remote server returned an error: (401) Unauthorized..
Here is a screenshot of the error.
The odd thing is that if I make a GET request to http://tfsserver:8080/tfs/collection/_apis/projects without any authentication I get a 200 OK response back with project information.
I have configured basic authentication per the tfs cli guide. How can I verify that basic authentication is configured correctly? When I try to login with tfx, I get the following screen.
I have the following extensions installed on the TFS 2017 instance.
Package Management
Release Management Utility tasks
TFS artifacts for Release Management
I am using Microsoft Visual Studio Team Foundation Server Version 15.105.25910.0
According to the screenshot, you are using TFS artifacts for Release Management extension to connect to another TFS instance.
Make sure the things below:
Make sure the collection URL you enter is correct. In your screenshot, the URL you enter is ended with "_home".
Make sure Basic Auth is enabled on TFS server.
Seems you are using the extension TFS artifacts for Release Management which provides a service endpoint to connect to an external TFS or VS Team Services Collection.
After test with TFS2013, I could reproduce your issue and got the same error information. The solution please see below:
Since you are connecting to TFS2013, it works with basic
authentication only. You’ll need to enable basic authentication
support for the TFS Server which handling TFS2013.
Also please make sure the username to connect to the external TFS
collection are with Domain in front of. Then will get a green
verfifed status.

Eclipse with TFS plugin - endless login loop

I have a problem in eclipse with the tfs plugin. I try to login and it stuck in some kind of login loop.
I looked here and in google. Nothing help.
I found this posts:
Eclipse with TFS plugin - looping login
http://social.msdn.microsoft.com/Forums/vstudio/en-US/5e3f8b3a-d623-4401-b9f1-50f1f52ab299/eclipse-tfs-plugin-keeps-signing-in-in-loop-followed-by-there-were-some-problems-message
I tried to clean cookies and password and everything possible in IE
I reinstalled the plugin. I updated everything possible, checked for eclipse indigo last version (3.2.7)
Nothing worked. Anyone can help me?
The forum posts you referenced are about the Team Foundation Service, not the on-premise server. Since the service uses Microsoft Accounts (previously known as Live Id's) it depends on cookies in your browser.
The on-premise version of Team Foundation Server uses your domain account which isn't stored as a cookie, but which is stored in the Windows Credentials Vault by default for Windows processes. Try going through the stored credentials to make sure your username/password or TFS server isn't mentioned there. If it is, either update it or remove it.
Can you verify whether the same account settings are correctly picked up by Visual Studio/Team Explorer (if you have it installed on the same machine)? Eclipse and Team Explorer should use the same credential vault.

Connecting to TFS 2010 from Eclipse using Team Explorer Everywhere 2010 SP1: Access Denied

I am trying to connect to my company's TFS 2010 server from eclipse using Team Explorer Everywhere 2010 SP1.
I have successfully installed the plugin and am attempting to create the connection to our server through the "Add New Server" dialogue. Entering the server https://tfs.<ourServer>.com/tfs along with my Active Directory credentials creates the error:
Access denied connecting to TFS server... <server> (authenticating as <DOMAIN>\<user.name>
I can connect to this same server from Visual Studio 2010 without a problem using the same credentials, and I can also connect to the web client by browsing the the server using IE.
I have also used the command line tool to define a profile which appears in the Eclipse plugin but creates the same error.
Have I missed something obvious? Is there a setting on the TFS server I need to change?
I had the same issue but changing the Eclipse proxy to native solved the issue in my case.
Can you connect successfully if you use the URL of your Team Project Collection, for example:
http://tfs.mydomain.com:8080/tfs/DefaultCollection