Is there no `ServerAzureADAdministrator` for the ...
# general
s
Is there no
ServerAzureADAdministrator
for the postgres flexible servers? The UI has that option, but i cant find it in the pulumi native provider for azure
Nvm I found it 🙂
c
@straight-whale-42634 please leave it here solution, for future issues, if some of our members have same problem 🙂
s
Copy code
new Administrator("administrator", new()
        {
            ObjectId = "id of the group",
            PrincipalName = "name of the group",
            PrincipalType = PrincipalType.Group,
            ResourceGroupName = resourceGroupName,
            ServerName = server.Name
        }, new()
        {
            DependsOn = { server }
        });
Administrator comes from
Pulumi.AzureNative.DBforPostgreSQL
c
@straight-whale-42634 super nice 🙂 thank you 🙂 I guess ObjectId is real object, maybe you will like it to edit, and change real value?
s
Wasnt confidential, but thanks anyway. Changed it