Hi in same web application how to create a new site collection based on existing subsite. I have below subsite:


I want to create a new site collection and import subsite1 under it:


  • Is this a one of, or is it intended as a general template for Site creation? – Kasper Bo Larsen Jan 27 '19 at 9:33

You must export and import existed site to new blank site, if you want to move it to new site collection:

  1. Export the subsite using the Export-SPWeb http://webapp/sites/subsite1 -Path "subsite1_export.cmp"
  2. Create a subsite on the destination without template New-SPWeb http://webapp2/sitecoll/subweb2
  3. Import site from exported file Import-SPWeb http://webapp2/sitecoll/subweb2 -Path subsite1_export.cmp -IncludeUserSecurity -Overwrite
| improve this answer | |
  • I tried this but the imported site should have same template id like targe site – adilahmed Jan 28 '19 at 17:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.