May 02 2017 04:02 AM
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
May 02 2017 04:07 AM
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/
May 02 2017 04:31 AM
These are bespoke features either site collection features or site features.
Regards
Nigel
May 02 2017 04:37 AM
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.
May 02 2017 04:42 AM
THis is a SharePoint Online to a SharePoint Online migration, but the source and destination are in different tenancies.
Regards
Nigel
May 02 2017 04:46 AM
Are these features coming from Sandbox solutions?
Sandbox solutions shouldn't still be use.
May 02 2017 05:09 AM
I would give Get-PnPProvisioningTemplate and Apply-PnPProvisioningTmeplate a try then.
May 02 2017 06:46 AM