Forum Discussion
exporting and importing sharepoint sites
Good morning everyone!
I've set up a SharePoint site with various security groups, flows, forms, and PowerApps linked together to collaborate. What I'd like to achieve is the ability to export this setup and import it into another environment.
I've noticed that through Power Admin, flows and PowerApps can be saved. However, SharePoint sites cannot be saved using this method. I've read online that this might be achievable with PowerShell using the Export-SPWeb command. However, I'm not entirely clear on the exact steps to follow.
Does anyone have experience with exporting and importing SharePoint sites? Could you please provide a step-by-step guide on how to do this? If there's an alternative method other than the command mentioned above, I'd also appreciate hearing about it.
Thank you in advance!
3 Replies
- AnonymousNot applicable
Hi Anonymous ,
The Export-SPWeb cmdlet exports a site, list, or library. The capability to export from a library is a new feature in SharePoint.
The Import-SPWeb cmdlet imports a web, list, or library. The capability to import from a library is a new feature in SharePoint Products.
More details:
Export-SPWeb (SharePointServer) | Microsoft Learn
Import-SPWeb (SharePointServer) | Microsoft Learn
How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details.
Best Regards
Community Support Team _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Hello Anonymous , thank you for your reply
Is it possible for you to tell me step by step how to achieve this?
thank you in advance!
Greetings,
Lisanne
- christinepaytonMost Valuable Professional
This is one of the differentiators between premium and non-premium features in Microsoft 365. Solutions are the way that Power Platform developers package security, flows, apps, and forms to move between environments, but they typically use a premium datasource such as Dataverse, not SharePoint.
SharePoint does not have environments - you can export and import various things with PowerShell or third-party migration tools, but there is not an easy way to move it between environments in a package like you do with solutions and Dataverse. You can assign SharePoint site URLs as an environment variable to make it easier to move, but it doesn't go into the "package" itself if that makes sense. This is part of why the upsell to premium exists, they're not going to make it easy for you to replicate the features of the premium product. 🙂