• Home

  • About

  • Our Work

    • Beneficiaries
    • Partners
  • Resources

  • Blog

  • Press

  • Contact

  • Donate

  • More

    • Facebook - Black Circle
    • Instagram - Black Circle
    • Twitter - Black Circle
    To see this working, head to your live site.
    1. The Success Forum
    2. How to migrate from SharePoint 2010 to SharePoint Online?
    Search
    Mark Wilson
    Mar 2

    How to migrate from SharePoint 2010 to SharePoint Online?

    SharePoint 2010 to SharePoint Online Migration Steps:

    Step 1: Export the data from the SharePoint 2010 environment using Export-SPWeb.


    Go to the start menu, and run the SharePoint 2010 Management Shell as Administrator


    Now, run the following command:

    Export-SPWeb -Identity “http://<On-PremSPSite>” -ItemUrl “/OnPremDocLib” -Path “C:\SPOnPremExport” -NoFileCompression -IncludeVersions 4


    Note: Replace the Web URL and the Document Library with your own URL and Library name.


    After completing it successfully, you will see that a folder has been created


    Create a new XML file in the above exported folder with the name: LookupListMap.xml and add the following lines to the file:

    <?xml version=”1.0″ encoding=”utf-8″?>

    < LookupLists xmlns=”urn:deployment-lookuplistmap-schema”/>


    Step 2: Convert the Exported package to the SPO Migration Package using the SharePoint Online Management Shell.


    Copy contents of the export folder to a new path: “C:\migrationpackages\SPOTemp”.

    Then, run SharePoint Online Management Shell as Administrator.


    Within the ISE, write the following command: Connect-SPOService


    After executing this command successfully, enter the Tenant Admin username and Password.

    Now, run the following command:

    ConvertTo-SPOMigrationTargetedPackage -SourceFilesPath “C:\SPOnPremExports” -SourcePackagePath “C:\SPOnPremExports” -TargetDocumentLibraryPath “Shared Documents” -TargetWebUrl https://<YourTenant>.sharepoint.com -OutputPackagePath c:\migrationpackages\SPOutPutPackage


    Step 3: Upload the SPO Migration Package to your Azure Storage account.


    Write the following command:

    $azurelocations = Set-SPOMigrationPackageAzureSource -SourceFilesPath “C:\MigrationPackages\SPOTEMP” -SourcePackagePath “C:\MigrationPackages\SPOutPutPackage” -FileContainerName migration-files -PackageContainerName migration-package -AccountName “yourstoragestorage” -AccountKey “AZURE STORAGE KEY”


    From the Azure portal, obtain your Azure Storage Key and Storage Name.

    Enter your Office 365 environment credentials.

    Step 4: Submit the Migration Job.


    Submit the job by entering the following command:


    Submit-SPOMigrationJob -TargetWebUrl https://yourtenant.sharepoint.com/ -MigrationPackageAzureLocations $azurelocations


    Then refresh your document library within office 365, and you will see that content has been migrated.

    Finally, successful migration is done from SharePoint 2010 to SharePoint Online.


    I hope this method will be helpful!

    Mark Wilson


    0 comments
    0

    Gut It Out Foundation, Inc. (“Gut It Out”) is a California nonprofit public benefit corporation operating through a fiscal sponsorship with Players’ Philanthropy Fund (Federal Tax ID: 27-6601178), a Maryland charitable trust recognized by the IRS with federal tax-exempt status as a public charity under Section 501(c)(3). Contributions to Gut It Out are tax-deductible to the fullest extent of the law.

    Copyright © 2017 Gut It Out Foundation