Cannot add azure_ai or azure storage extension to Flexible PostgreSQL 16.9

JM 0 Reputation points
2025-09-25T06:30:15.9633333+00:00

CREATE EXTENSION IF NOT EXISTS azure_ai;

--output from query:

--permission denied to alter restricted role "azure_pg_admin"

the issue azure_ai 1.3.1 fails to install on pg 16.9 with error: permission denied to alter restricted role "azure_pg_admin"

Logged in as the server admin after enabling the extension in the azure portal.

Also restarted the server for good measure, still fails to install. Any guidance?

Azure Database for PostgreSQL
{count} votes

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.