Having trouble adding a Team Explorer server (visualstudio.com) in Xamarin Studio. I enter my credentials (Microsoft account) but nothing happens, and the server is not added in the list of servers. I am using this addin
It seems that you need to enable alternate credentials to be able to log into the server as per this post. See the "Basic auth" section.
Related
Where does the TFS Office integration excel plugin store the server names so that they are persistent the next time the user logs in. Right now when a user logs in with a Citrix desktop the settings for the server name are not persisting. The Citrix team has asked me for the location where this information is stored.
The server is configured in the Team tab in Excel. And its name is auto generated by the TFS excel plugin according to the server configured. If it is not authorized to access the TFS from the Excel in the citrix desktop, the server name will not be displayed.
You can try add the TFS in the Excel in the citrix desktop. See below steps:
Team tab-->Configure-->Server Connection-->Ok to reconnect document to server instance-->
Servers-->Add. See below screenshot.
Check this document for more information.
I have TFS 2018. I'm trying to connect visual studio 2019. I can already use tfs via web browser. I can log in and everything is fine. But when I try to connect through vs, I can't get authorized. I get
Server 'https://Myserver:8080/tfs' was not added. TF30063. You are not authorized to access https://myserver:8080/tfs
I researched the error code and tried all the fixes including deleting the windows credentials, running vs as admin and others. Like I said, I can log in via my web browser with no problem.
When I try to connect to project, It has my Microsoft account. I enter the above url and I'm prompted for my windows login (same for the browser) and I keep getting the error. I thought maybe I add the account before connecting, but when I try to add an account, the only popup wants me to use a Microsoft account or GitHub account. I can't add my Windows account.
So how do I connect my visual studio to my tfs server?
Thank you.
You should not get a Microsoft Account Prompt if you are trying to connect locally. The prompt is to validate your instance of VS towards your MSDN subscription. You would need to "login" with you Microsoft or Azure AD user that can validate your VS license and to be able to synchronize your settings from one VS to another. This login is the one here
Notice the account settings there, if you click on this you can also add your Visual Studio 2019 Static Key and then you don't need to login every month unless you want to sync your settings.
Bottom line, when connecting to TFS 2018 it will not ask you for Microsoft Credentials.
Please check whether you use the correct URL, and use http instead of https. Also, try the following items:
Close all Visual Studio instances, delete %LOCALAPPDATA%.IdentityService.
Clear TFS caches %LOCALAPPDATA%\Microsoft\Team Foundation\x.0\Cache
Click Add Azure DevOps Server and add the server URL:
Starting two weeks ago i cannot not login to vso using my account, i got this message
"VS400664: Sorry, we were unable to retrieve a configured identity provider for you to use when creating an account. If the problem persists, check your web browser security settings. You may need to add https://tfsprodch1acs01.accesscontrol.windows.net to your trusted zones.
Refresh"
Note that i can access using google chrome, but this error come just in internet explorer (8) or from visual studio when try to login,
when i try to browse to https://tfsprodch1acs01.accesscontrol.windows.net using IE i get "Internet explorer cannot display the webpage" but i can browse using chrome.
IE8 is not supported by VSO or TFS 2012+.
It doesn't appear that you can modify the base url for the portal settings in TFS 2010. I currently have
http://tfsserver.mydomain.com
I would like the system to launch
http://tfsserver
instead when a user selects 'Show project portal' from Team Explorer.
Is it possible to change the site root that it points to? We keep getting security prompts with fqdn.
I found the answer myself. On the application tier, open the admin console, select SharePoint Web Applications and change the base url there.
I have VS 2008 and Team Explorer, and TFS.
I open VS 2008 using a local administrator (MACHINE\admin). I open Team Explorer to connect to TFS Server using domain user (DOMAIN\user). The login dialog appears when I connect to TFS in Team Explorer (I put login and password).
Now, in my addin, programatically I want connect to TFS.
How can I get the credentials (that I introduce in login dialog in Team Explorer) to connect to TFS ?
Reference:
How to get the active Team Foundation Server and Project from an Add-In
http://blogs.msdn.com/b/hippietim/archive/2006/03/29/563988.aspx
Have you tried:
System.Net.NetworkCredential credential = (System.Net.NetworkCredential)System.Net.CredentialCache.DefaultCredentials;
Aside from that, you could setup an account that the addin could run under using :
new NetworkCredential(username,password,domain)
System.Net.CredentialCache.DefaultCredentials may pass back the admin creds though. In which case, creating an account for the addin to run under would still be an option.