ERROR
After making an AWS-RDS database connection to ArcGIS Pro, the Enable Enterprise Geodatabase tool fails, and returns the following errors:
Geodatabase must be enabled as geodatabase admin user. Failed to execute (EnableEnterpriseGeodatabase).

When creating an RDS for a PostgreSQL DB instance using the AWS Management Console, an administrator account is created at the same time. By default, its name is postgres. Follow the below steps to grant all the privileges and add an extension - PostGIS.
CREATE ROLE sde LOGIN PASSWORD 'Pass@123'
GRANT rds_superuser TO sde
GRANT ALL PRIVILEGES ON DATABASE s1 TO sde;
CREATE SCHEMA sde AUTHORIZATION sde;
CREATE EXTENSION postgis;
After granting the necessary privileges and adding the PostGIS extension to the database, connect to it using the SDE user in ArcGIS Pro, and enable the enterprise geodatabase.
Article ID: 000032631
Get help from ArcGIS experts
Start chatting now