Need support to enable pgaadauth extension for the PostgreSQL DB

Paresh Sansare 10 Reputation points
2026-08-04T06:16:42.0566667+00:00

The extension is not seen in the portal but it's seen in the available extensions list -

"pgaadauth"  "1.10"    "Microsoft Entra ID Authentication"--this is available, but not installed or seen in the portal screen

Azure Database for PostgreSQL

2 answers

Sort by: Most helpful
  1. Manoj Kumar Boyini 19,430 Reputation points Microsoft External Staff Moderator
    2026-08-06T18:51:27.4066667+00:00

    Hi @Paresh Sansare

    Although pgaadauth appears in pg_available_extensions, it is a Microsoft-managed extension and isn't intended to be installed manually using CREATE EXTENSION pgaadauth. Therefore, the following error is expected:

    ERROR: extension "pgaadauth" is not allow-listed for "azure_pg_admin" users

    To use pgaadauth, enable Microsoft Entra authentication on the Azure Database for PostgreSQL Flexible Server. When Microsoft Entra authentication is enabled, Azure automatically enables the pgaadauth extension as part of the server configuration and restarts the server. After that, Microsoft Entra users and groups can be managed using the supported Entra authentication features rather than manually creating the extension.

    References:

    https://learn.microsoft.com/azure/postgresql/flexible-server/security-entra-configure

    https://learn.microsoft.com/azure/postgresql/flexible-server/how-to-manage-azure-ad-users

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. Paresh Sansare 10 Reputation points
    2026-08-12T03:36:45.74+00:00

    Thank you Manoj! It's working now.

    Was this answer helpful?

    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.