An Azure managed PostgreSQL database service for app development and deployment.
The role azure_pg_failover_slots_validator is created and owned by Azure's pg_failover_slots integration. It is not a customer role, and Flexible Server does not grant full PostgreSQL superuser access. Do not drop or alter it.
Run the major-version upgrade validation check and confirm this is the only blocker. Check whether pg_failover_slots is enabled in shared_preload_libraries. If you enabled the module and no longer use it, remove it from shared_preload_libraries, restart the server, remove the extension from each database where it is installed, and rerun validation. Test this on a point-in-time-restored server first.
If the module is not enabled, or validation still reports the Azure-managed role, the issue is not customer-remediable. Update your Azure support request with the server resource ID, source and target versions, validation output, operation correlation ID, and UTC timestamp. Ask the PostgreSQL Flexible Server team to correct the stale managed-role attribute. Rerun validation before attempting the upgrade again.