In case of migration from a previous version of TFS (as I described in my previous post: XYZ) Sharepoint part is not present.
In this casi you can import it from the previous Sharepoint or you can create a new one from scratch.
In both cases you can follow these steps:
- open Team Foundation Server Administration Console, selezionare Application Tier –> Team Project Collections
- select the project collection to be modified
- select tab Sharepoint Site
- press Edit Default Site Location
- select Sharepoint Web Application that will host the Site Collection
- select Relative Path
At this point if you have imported the previous Site Collection, press OK and operation is completed, otherwise administraion console will ask you if a new Site Collection must be created in the given URL (i.e. sites/MigratedCollection), press Yes and you’re done.