{"id":3663,"date":"2013-01-07T07:15:00","date_gmt":"2013-01-07T07:15:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2013\/01\/07\/how-to-connect-to-tf-service-without-a-prompt-for-liveid-credentials\/"},"modified":"2019-02-14T17:57:45","modified_gmt":"2019-02-15T01:57:45","slug":"how-to-connect-to-tf-service-without-a-prompt-for-liveid-credentials","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/how-to-connect-to-tf-service-without-a-prompt-for-liveid-credentials\/","title":{"rendered":"How to connect to TF Service without a prompt for LiveID credentials"},"content":{"rendered":"<p>Normally when you connect to the <a href=\"http:\/\/tfs.visualstudio.com\/\">Team Foundation Service<\/a> you are presented with a web page to log in with your Microsoft Account (aka LiveID). When you log in you can choose to have it remember you and you won&rsquo;t have to enter your Microsoft Account credentials again (unless you don&rsquo;t log in again for a long time, and then you&rsquo;ll be prompted again).<\/p>\n<p>That&rsquo;s great for humans, but what about an application or another web service that wants to connect? For that the code will need to use &ldquo;alternate credentials,&rdquo; which you must enable on your account. Then we can write some code to connect to the service with those credentials.<\/p>\n<p><a href=\"http:\/\/blogs.msdn.com\/b\/buckh\/archive\/2013\/01\/07\/how-to-connect-to-tf-service-without-a-prompt-for-liveid-credentials.aspx\">more&hellip;<\/a><\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Normally when you connect to the Team Foundation Service you are presented with a web page to log in with your Microsoft Account (aka LiveID). When you log in you can choose to have it remember you and you won&rsquo;t have to enter your Microsoft Account credentials again (unless you don&rsquo;t log in again for [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[253,1],"tags":[],"class_list":["post-3663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-devops-server","category-devops"],"acf":[],"blog_post_summary":"<p>Normally when you connect to the Team Foundation Service you are presented with a web page to log in with your Microsoft Account (aka LiveID). When you log in you can choose to have it remember you and you won&rsquo;t have to enter your Microsoft Account credentials again (unless you don&rsquo;t log in again for [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/3663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=3663"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/3663\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=3663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=3663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=3663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}