move files from azure blob to sharepoint

Azure Blob to SharePoint: Seamless File Migration

By Thomas Harris
AD

Moving files from Azure Blob Storage to Microsoft SharePoint can be a breeze with the right approach. Both services have their unique strengths, with Azure Blob Storage excelling in scalable object storage and SharePoint offering robust collaboration and version control features. Here, we'll guide you through a step-by-step process to seamlessly transfer your files from one platform to the other.

Before we dive into the process, make sure you have the necessary permissions on both Azure and SharePoint. You'll also need to have the Microsoft 365 institucaloc Shared Computer object permissions to initiate the move. Let's begin.

Preparing Azure Blob Storage and SharePoint

Before migrating, it's crucial to set up both services correctly to ensure a smooth transition.

AD
Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow
Copy Files From SharePoint To An Azure Blob Storage Using Microsoft Flow
Move Data from On-Premise SQL Server to Azure Blob Storage Using Azure Data Factory | Towards Data Science
Move Data from On-Premise SQL Server to Azure Blob Storage Using Azure Data Factory | Towards Data Science
Working With Blobs In Azure
Working With Blobs In Azure

In Azure Blob Storage, organize your data in containers and blobs. Containers act as folders, and blobs are files within those folders. This structure will make it easier to move files to SharePoint.

Setting Up Azure Storage Account

First, ensure your Azure Storage Account is enabled for public access to allow SharePoint to read blobs. Go to your storage account's properties, scroll down to 'Public access level,' and set it to 'Blob (anonymous read access for blobs only).'

Update Work Items with Templates in Azure Boards - Azure Boards
Update Work Items with Templates in Azure Boards - Azure Boards
Microsoft Azure Tutorial for Beginners
Microsoft Azure Tutorial for Beginners
Manage and find data with Blob Index for Azure Storage—now in preview
Manage and find data with Blob Index for Azure Storage—now in preview

Alternatively, you can use Shared Access Signatures (SAS) to provide temporary, secure access to your blobs without enabling public access.

Preparing SharePoint Libraries

On the SharePoint end, create the necessary libraries to house your migrated files. If your files are document-heavy, consider using Document Libraries. For media content, SharePoint's Slide Library or Media Library can be more suitable.

AD

Set up folders within these libraries to mirror the structure of your Azure Blob Storage containers. This will help maintain the original file hierarchy during migration.

How to work with Azure file storage in C#
How to work with Azure file storage in C#
Searching Blob Documents with the Azure Search Service
Searching Blob Documents with the Azure Search Service
Managing Large Files in Power Apps: Why Azure Blob Storage Is the Smarter Choice
Managing Large Files in Power Apps: Why Azure Blob Storage Is the Smarter Choice
Create an Azure Function Triggered By Blob Storage Using C#
Create an Azure Function Triggered By Blob Storage Using C#
Create Azure File Share Using Azure Portal
Create Azure File Share Using Azure Portal
Azure
Azure

Initiating the File Migration Process

With your services set up, it's time to initiate the file migration process. Microsoft provides a powershell commandlet, `Start-SPIisAppPoolRecycling`, which can be used to trigger the migration.

Before running the command, make sure your SharePoint server is accessible, and you have the necessary permissions.

AD

Using PowerShell to Migrate Files

To use PowerShell, first, connect to your SharePoint site using the `Connect-SPOService` cmdlet. Then, use the `Start-SPIisAppPoolRecycling` cmdlet, specifying your Azure Blob Storage account name and SharePoint library URL.

Blob Triggers And Queue Storage Trigger Azure Functions
Blob Triggers And Queue Storage Trigger Azure Functions
Getting Started with Azure Storage Explorer
Getting Started with Azure Storage Explorer
6 Key Steps for Moving to Azure Cloud Successfully
6 Key Steps for Moving to Azure Cloud Successfully
Building Snowpipe on Azure Blob Storage Using Azure Portal Web UI for Snowflake Data Warehouse | Towards Data Science
Building Snowpipe on Azure Blob Storage Using Azure Portal Web UI for Snowflake Data Warehouse | Towards Data Science
Azure is angry :0
Azure is angry :0
Azure icon ;33 ★
Azure icon ;33 ★
Everything You Need to Know About Blob Storage in Azure
Everything You Need to Know About Blob Storage in Azure
How to create your own Deep Learning Project in Azure | Towards Data Science
How to create your own Deep Learning Project in Azure | Towards Data Science
How To Create Blobs In Microsoft Azure Using C#
How To Create Blobs In Microsoft Azure Using C#
Microsoft Azure: Storage Types Overview
Microsoft Azure: Storage Types Overview
Microsoft Teams with Azure DevOps Services (Collaborate, Communicate and Celebrate)
Microsoft Teams with Azure DevOps Services (Collaborate, Communicate and Celebrate)
Integrating ChatGPT In Azure In 8 Simple Steps
Integrating ChatGPT In Azure In 8 Simple Steps
Creating Azure Blobs Using ASP.NET Core C# Console Application
Creating Azure Blobs Using ASP.NET Core C# Console Application
𓏲𝄢 board cover
𓏲𝄢 board cover

Here's an example of how the command might look: `Start-SPIisAppPoolRecycling -AccountName 'your_azure_account_name' -SharedUrl 'https://your_tenant_name.sharepoint.com/:u:/g/personal/user_name '', 'library_name'`.

Monitoring the Migration Progress

After initiating the migration, monitor its progress using the SharePoint admin center. Go to 'Show all' under 'Migration' in the left-hand pane, then click on 'Azure Blob storage migrations' in the central pane.

AD

Here, you'll see the status of your migration. You can also use the 'Refresh' button to get real-time updates on the migration progress.

Migration efficiency can depend on various factors, including the volume of data and your network's speed. Have patience, and ensure your systems are optimized for the best results.

Post-Migration Steps and Verification

Once the migration is complete, it's crucial to verify that all your files have been successfully transferred to SharePoint.

Navigate to the migrated libraries in SharePoint and compare the folder and file structure with your Azure Blob Storage containers and blobs. Ensure that all files are in their correct folders and that there are no missing or corrupted files.

Adjusting File Permissions in SharePoint

Post-migration, you may need to adjust file permissions in SharePoint to reflect your existing Azure Blob Storage settings. Ensure that users retaining access to these files have the correct permissions in SharePoint.

You can use the 'SharePoint item permissions' feature to manage user-level permissions for each file. Alternatively, use 'Advanced permissions' to set library-level and item-level permissions for groups of users.

Cleaning Up Azure Blob Storage

Once you've verified that all files have been successfully migrated to SharePoint, consider cleaning up your Azure Blob Storage account. If you no longer need the data in Azure Blob Storage, you can delete the containers and blobs to save storage costs.

Remember to be cautious while deleting data, as it cannot be recovered once deleted. Confirm each action to prevent accidental data loss.

Migrating files from Azure Blob Storage to SharePoint might seem daunting at first, but with the right approach, it can be a seamless process. Always ensure you thoroughly plan your migration, backup your data, and test the migration process before committing to it on a large scale.

File migration is not a 'set and forget' process. Regularly monitor your SharePoint libraries to ensure files remain accessible and secure. With SharePoint's robust collaboration tools, your team can now enjoy enhanced productivity and real-time collaboration on your migrated files.

AD