I am trying to import and export a team site on the same farm but with different web applications
The import operation is completed successfully, but when importing the exported file to the second I got this error
Import-SPWeb : Could not find Feature TeamFoundationWeb.
At line:1 char:1
+ Import-SPWeb http:\\sharepointsite -Path "\\importfiles
+ CategoryInfo : InvalidData: (Microsoft.Share...CmdletImportWeb:SPCmdletImportWeb) [Import-SPWeb], SPException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletImportWeb
Help me please!
Looks like the destination site that you have tried to import the export file doesn't have Team Site feature enabled!
So try to enable "TeamFoundationWebe" feature on the destination site before performing the import cmdlet.
Run the below cmdlet.
stsadm -o installfeature -name TeamFoundationWeb
Try to perform Import-SPWeb again that should be working now.
Most popular tags