@Raminder Chima I've tried this out and looks like the ARM Template generated doesn't have the gateway
and authType
set for the API Connection resources.
As described in this blog, adding a value like this under parameterValues
should do the trick
"authType": "basic",
"gateway": {
"id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{reosurceGroupName}}/providers/Microsoft.Web/connectionGateways/{{On-Premise DatagatewayName}}"
}