Skip to content
Discussion options

You must be logged in to vote

You were right about what a valid configuration is. In order to be able to disable it, a username and password should be provided.

    var sqlServer = builder.AddAzureSqlServer("sql-server")
    .ConfigureInfrastructure(infra =>
    {
        var sql = infra.GetProvisionableResources().OfType<SqlServer>().Single();
        sql.Administrators.IsAzureADOnlyAuthenticationEnabled = false;
        sql.AdministratorLogin = "admin";
        sql.AdministratorLoginPassword = "password";
    });

Replies: 1 comment 14 replies

Comment options

You must be logged in to vote
14 replies
@yudielcurbelo
Comment options

@davidfowl
Comment options

@yudielcurbelo
Comment options

@yudielcurbelo
Comment options

Answer selected by yudielcurbelo
@davidfowl
Comment options

@yudielcurbelo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants