Hi Yury •,
Welcome to Microsoft Q&A forum.
As I understand, you Can't drop postgresql flexible server database with logical replication.
Could you please let us know how are you trying to perform the operation? Via Azure Portal, Azure CLI etc
Does az postgres db show
shows the database details in Azure CLI?
Refer to the similar issue stackexchange post here:
https://dba.stackexchange.com/questions/120411/unable-to-force-drop-postgres-database
Let us know if this helps. If not, please share more details with screenshot so that we can assist you.
Thanks