ERROR
Creating a SQL Azure Enterprise Geodatabase from ArcGIS Pro using the Create Enterprise Geodatabase geoprocessing tool fails with an error:
CREATE DATABASE statement not allowed within multi-statement transaction.
The CREATE DATABASE statement must run in auto-commit mode (the default transaction management mode) and is not allowed in an explicit or implicit transaction.
For SQL Azure, the database and geodatabase administrator login should first be created using the SQL Azure Portal/SQL Server Management Studio before running the Create Enterprise Geodatabase tool from ArcGIS Pro.
The tool grants the geodatabase administrator the privileges required to create a geodatabase and then creates the geodatabase repository in the SQL Azure database.
Detailed steps for creating an Enterprise Geodatabase in SQL Azure can be found in this Esri Community post: Enterprise Geodatabase in Azure SQL database
Article ID: 000028212
Get help from ArcGIS experts
Download the Esri Support App