How to delete a Microsoft Entra ID

Marco Molica 20 Reputation points
2025-05-23T08:51:34.06+00:00

Hi! I've create a web-app, and activated a System Identity Assigned

User's image

After that, i added the EntraID assigned to the authentication of database.

After a while, i tried to move the app to a new service plan, so i deleted the application in order to recreate it. I tried to add again a System Identity Assigned, but i'm not able to add it to the authentication of database as there is the previous identity (with different objectid, but same name).

If i try to delete the entra id, i got

User's image

but i didn't found a way to enable Include Error Detail, as the connection string is managed by portal (same result by using CLI).

I tried to remove the role from postgres itself, but i don't have the permission to drop the role cause it was created by admin_pg_user. I also tried to add another role and grant admin_pg_user to new role, but still no luck.

Is there a way to remove the previous EntraID? Otherwise i'm not able to deploy the webapp with previous name, as the database authentication will throw an error.

Thank you

Azure Database for PostgreSQL
{count} votes

Accepted answer
  1. PratikLad 1,830 Reputation points Microsoft External Staff Moderator
    2025-06-24T12:08:42.7033333+00:00

    Hi Marco Molica,

    Following up on the discussion, the Azure Database for PostgreSQL Flexible Server in the Azure portal is currently stuck in the dropping state.

    As mentioned, we dropped the automanlmax-rec-api-dev from the backend.

    I hope this has been helpful!

    Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    If this answers your query, do click Accept Answer and Upvote for was this answer helpful.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.