简体   繁体   中英

“Team Foundation services are not available from” Visual Studio Online

I am using tfs preview, which is provided by Microsoft online. I am able to get the project name but when I am trying to get work items. I am getting below error.

TF400324: Team Foundation services are not available from server https://servername.tfspreview.com/ .

Technical information (for administrator):

Page not found.

I am using below code to get work items.

var tfs = TfsTeamProjectCollectionFactory.GetTeamProjectCollection("https://servername.tfspreview.com/");
var store = (WorkItemStore)tfs.GetService(typeof(ICommonStructureService));

The Team Foundation Service is no longer in preview mode. It's a full freemium service. Update your URL to:

https://servername.visualstudio.com/DefaultCollection

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM