This message was deleted.
# azure
s
This message was deleted.
w
I’m not well versed in this use-case, but are you sure you can’t add the admin group via a Pulumi resource? I see this resource in the “classic” Azure provider: https://www.pulumi.com/docs/reference/pkg/azure/sql/activedirectoryadministrator/ The Azure Nextgen provider sql module (https://www.pulumi.com/docs/reference/pkg/azure-nextgen/sql/) has a ServerAzureADAdministrator resource (https://www.pulumi.com/docs/reference/pkg/azure-nextgen/sql/serverazureadadministrator/)
b
oooh, this is good input thank you very much. I'll have to read through it!
t
Why does the Microsoft.Sql/servers/administrators object map to ServerAzureADAdministrator instead of
ServerAdministrator
?
t
@tall-needle-56640 we base it off operation IDs in open API specs which are the most reliable source of identification information. Azure SDK calls it the same https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/sqlmanagement/Azure.Res[…]ager.Sql/src/Generated/ServerAzureADAdministratorsOperations.cs
t
Oh OK. Thanks.