question

FlorBob avatar image
0 Votes"
FlorBob asked KalyanChanumolu-MSFT answered

Powershell: how to get Active Directory Administrator of Azure Database for PostgreSQL?

Hi,

is there any equivalent of "Get-AzSqlServerActiveDirectoryAdministrator" cmdlet which can be used to retrieve the Active Directory Administrator of the selected Azure Database for PostgreSQL? Unfortunately, Az.postgresql module doesn't contain such feature.

Or maybe you have any workaround for that?

azure-active-directoryazure-database-postgresql
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

CristianSPIRIDON72 avatar image
1 Vote"
CristianSPIRIDON72 answered

Maybe you can use az postgres CLI commands:

Hope this helps.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KalyanChanumolu-MSFT avatar image
0 Votes"
KalyanChanumolu-MSFT answered

@FlorBob Thank you for reaching out.
Yes, you are right. There is no PowerShell equivalent cmdlet yet
As suggested by @CristianSPIRIDON72, you could use Azure CLI if it is an option for you.

Please submit a request for the new cmdlet here. You will get updates when the product team prioritizes and delivers the feature.



If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.