Change Azure website app settings from code
You can also use the Azure Fluent Api. using Microsoft.Azure.Management.Fluent; using Microsoft.Azure.Management.ResourceManager.Fluent; using Microsoft.Azure.Management.ResourceManager.Fluent.Authentication; using Microsoft.Azure.Management.ResourceManager.Fluent.Core; … public void UpdateSetting(string key, string value) { string tenantId = “a5fd91ad-….-….-….-…………”; string clientSecret = “8a9mSPas………………………………=”; string clientId = “3030efa6-….-….-….-…………”; string subscriptionId = “a4a5aff6-….-….-….-…………”; var azureCredentials = new AzureCredentials(new ServicePrincipalLoginInformation { ClientId = clientId, ClientSecret = clientSecret }, tenantId, … Read more