Cannot create new Role with postgres Flexible server

Jérôme Villeneuve-Larouche 10 Reputation points
2025-08-26T19:37:00.77+00:00

On one of our Postgres Flexible server we cannot create new role anymore.
The server is on 16.9 and when trying to create a new role when connected with the admin account we get this error:

postgres> CREATE ROLE "new_test_role";
permission denied to grant privileges as role "admin_user"
DETAIL:  The grantor must have the ADMIN option on role "new_test_role".

From what I can find our admin_user already has the role azure_pg_admin. I do not know what else I can do with the admin user since we do not have access to a superuser.

Thank you

Azure Database for PostgreSQL
{count} votes

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.