Forum Discussion

Nigel Price's avatar
Nigel Price
Iron Contributor
May 02, 2017

Get-SPOFeature

Hi 

 

I am migrating from one SharePoint Online tenancy to another SharePoint Online Tenmancy.

 

How do I copy bespoke features from the source tenancy to the destination tenancy ?

 

I can enable and disable features using Enable-SPOFeature and Disable-SPOFeature, but how do I get the feature copied across ? Do I need the source of the Feature and the upload it into the destination tenancy ?

 

Regards

 

Nigel

  • Hi Nigel Price,

     

    Are you talking about features from Farm solutions? -> You can't copy these as farm solutions don't exist.

     

    For out of the box features. -> Yes you could enable these.

     

    Have you looked at using PnP? You could simply (it might not  be as simple as this) export a template from your on-premises site and merge it with and export form your destination office 365 site.

     

    So Get-PnP Provisioing Template form both source and destination and then manually copy bits across in the template file.  You could also consider using my PnP PowerShell Sample ( currently in preview only!) 

     

    https://veenstra.me.uk/2017/04/19/office-365-sharepoint-20132016-moving-sites-around/

     

     

     

      • Pieter Veenstra's avatar
        Pieter Veenstra
        MVP

        Hi Nigel Price,

         

        Then there isn't really a way to migrate them. You could use PnP to copy columns, content types etc created by your features. However you are likely to hit some issues on the way. 

         

        Some things that used to make perfect sens in on-premises environment simply do no exist in Office 635.

         

        also migrating like for like would make you ignore all the new features available and therefore you might not end up with the best solution possible.

         

         

         

Resources