Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ PI Server Installation and Configuration (PI Server 2024 R2)

Post-migration: Database creation with GO​.bat script

Post-migration: Database creation with GO​.bat script

  • Last UpdatedSep 09, 2025
  • 1 minute read

Important: To prevent issues with database check-in's, perform this post-migration task after a successful PI AF database migration to Azure SQL Database.

As a final step after migration, you must complete the following steps if you created the PI AF database in Azure SQL Database using the GO.bat script method.

  1. Update the AFService.exe.config file to direct the PI AF Application Service to the new Azure SQL database and authentication mode. For instructions see Modify the AFService.exe.config file.

  2. Restart any PI client applications that point to the AF server after modifying the connect string to reference the cloud-based Azure SQL database.

  3. Enter afdiag /resetidentitycolumnseeds, then press Enter.

    The Identity column seeds are updated in the PI AF SQL Server tables.

TitleResults for “How to create a CRG?”Also Available in