I have an Azure PostgreSQL server that is giving different connection results in Azure Data Studio (with the PG extension) depending on how the resource's AD Admin setting is configured. With the AD Admin set to an AD security group that I'm a member of, I get "server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request." Setting the AD Admin to my AD user account lets me connect successfully.
Using the same AD group as the AD Admin setting for our Azure SQL Databases lets my user account in fine in ADS and SSMS.
Thanks!