Azure Database for PostgreSQL: Issues Removing Microsoft Entra Administrator — Dependency and Ownership Challenges

Tobias Runesson 40 Reputation points
2026-11-25T14:08:03.9966667+00:00

Problem description

I am experiencing difficulties removing a Microsoft Entra administrator from my Azure Database for PostgreSQL flexible server. Despite attempting to delete the admin via the Azure Portal, the operation fails due to existing dependencies or privileges still referencing the role.

Environment

Azure Database for PostgreSQL flexible server, West Europe

What I've already tried

I have performed ownership and privilege checks across all affected databases, revoked privileges, and attempted to reassign ownership. I also ran dependency queries and role membership checks. Additionally, I ensured the public schema ownership is correct and tried to revoke privileges accordingly.

Current status

I am seeking guidance on how to identify and remove remaining dependencies or privileges that block the deletion of the Entra administrator role, and whether manual modifications are supported in this scenario.

Azure Database for PostgreSQL
0 comments No comments

Your answer

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