I can;t connect to postgresql: Service Principal oid mismatch for role.

Armando Cordova 10 Reputation points
2024-04-13T22:14:22.9666667+00:00

Weird situation, I am able to connect to my postgresql flexible instance and can query the postgresql version, but after making a change on the query, for some reason I can't event connect:

Service Principal oid mismatch for role[my_user]

I didn't change my_user at all, if I undo my changes the connection works again.

Azure Database for PostgreSQL
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.