How to add pgaadauth in azure pg flexible servers it is always giving error,Also how to add pg_cron to a db

Aditya Singh 0 Reputation points
2025-01-31T09:41:54.5433333+00:00

CREATE EXTENSION IF NOT EXISTS pgaadauth;

ERROR: extension "pgaadauth" is not allow-listed for "azure_pg_admin" users in Azure Database for PostgreSQL

HINT: to learn how to allow an extension or see the list of allowed extensions, please refer to https://go.microsoft.com/fwlink/?linkid=2281561

ALTER SYSTEM SET cron.database_name = 'postgres';

SELECT pg_reload_conf();

ERROR: permission denied to set parameter "cron.database_name"

ERROR: permission denied for function pg_reload_conf

Since only azure internally have superdadmin role

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.