An Azure managed PostgreSQL database service for app development and deployment.
Azure Database for PostgreSQL: Issues Removing Microsoft Entra Administrator — Dependency and Ownership Challenges
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.