Getting Error "FeatureSwitchNotEnabled" while creating MYSQL through ARM template Hi All,
When I create MySQL through ARM Template there are 2 tasks on which I get FeatureSwitchNotEnabled.
1 - Microsoft.DBforMySQL/servers/firewallRules 2 - Microsoft.DBforMySQL/servers/virtualNetworkRules
Do we need to enable any setting to configure these through ARM template. All other 20-30 operations on MYSql completed successfully, except the above 2.
Any help would be appreciated.
Here is a snippet:
{
"type": "Microsoft.DBforMySQL/servers/firewallRules",
"apiVersion": "2017-12-01",
"name": "[concat(parameters('DEV-SIT_mysql_name'), '/AllowAllWindowsAzureIps')]",
"dependsOn": [
"[resourceId('Microsoft.DBforMySQL/servers', parameters('DEV-SIT_mysql_name'))]"
],
"properties": {
"startIpAddress": "0.0.0.0",
"endIpAddress": "0.0.0.0"
}
},