Use Azure Database Migration Service
- Last UpdatedNov 13, 2025
- 2 minute read
- PI System
- PI Server 2024 R2
- PI Server
You can migrate a PI AF database to Azure SQL Database or Azure SQL Managed Instance using the Azure Database Migration Service.
-
Sign in to the Microsoft Azure portal.
-
Navigate to Azure Database Migration Service: Select All Services, select Migration on the left pane, then select Azure Database Migration Services.
-
Create a Database Migration Service instance or reuse an existing instance that you created earlier.
Note: For instructions on creating an offline version of an on-prem database, see Tutorial: Migrate SQL Server to Azure SQL Database (offline).
-
Select the database migration service instance, then select New Migration.
-
If an integration runtime has not been configured, select Configure runtime settings, then follow the instructions to create one.
-
In the Select new migration scenario screen, make the following selections:
-
Source server type: SQL Server
-
Target server type: Azure SQL Database or Azure SQL Managed Instance
Note: Offline migration mode is automatically selected since it is the only supported Azure SQL Database mode.
-
-
Select Select.
The Azure SQL Database Offline Migration Wizard opens.
-
Enter the source server name and connection information for your on-prem PI AF SQL Server database.
-
Select Next, then select Databases for migration.
-
Select the checkbox next to your on-prem PI AF SQL Server database.
-
Select the Next: Connect to target Database.
-
Select your target cloud-managed database server and then enter the connection information.
-
Select Next: Map source and target databases.
-
Select your target cloud-managed database from the dropdown list, then select Next: Select database tables to migration.
-
Select the Select all tables checkbox.
-
Locate and then unclear the System ID table checkbox to ensure this table is not migrated.
Note: The System ID table contains the name of the AF server, which may no longer be correct if it was moved to a different machine. Any tables that are empty will be unselected and cannot be migrated.
-
Select Next: Database migration summary.
-
Review your selections, then select Start Migration.
Migration status is shown on the Azure Database Migration Service instance screen.
After migration has completed successfully, your on-prem PI AF SQL Server data is now available in Azure SQL Database.