Any configuration to migrate the db users to the target db.? Any other configuration that needs to be done pre-migration for db users.?
The migration service supports user roles migration when the source is Azure Database for PostgreSQL Single Server. However, this feature is currently disabled for PostgreSQL version 16 servers **(**which includes Flexible Server). In other words, if you’re migrating from Single Server to Flexible Server, the user roles won’t be automatically migrated.
Option 1: The feature will be made available In June. You can choose to wait until this feature is enabled for PostgreSQL 16.
Option 2: Alternatively, you can choose to migrate to a lower version, such as PostgreSQL version 15. Once the migration is completed, you can then use our major version upgrade to upgrade the server to version 16. However, before proceeding with this option, I recommend checking our documentation for further guidance and validate the limitations Major version upgrades in Azure Database for PostgreSQL - Flexible Server.
hope that helps
Regards,
Oury