I am using:
- Azure Database for PostgreSQL flexible server - version 13.10
- ArcGIS Pro (advanced license) - version 3.1.2
The ESRI documentation lists this version of PostgreSQL flexible server as compatible with Pro 3.1. Further the release notes for Pro 3.1.x state that it includes:
ENH-000148704 Support the Microsoft Azure Database for PostgreSQL Flexible Server option
I am calling the Create Enterprise Database tool, passing it a new database name so it will create a new database and using the 'admin user' as the superuser is not available for this platform.
User does not have required privileges to create database objects.
[ERROR: User must be database SUPERUSER to create geodatabase.]
But if ArcGIS Pro is supports PostgreSQL flexible server then this tool must be able to run without superuser. Is there some part I am missing here?