We have a Org policy which does not allow public IP for resource creation and because of that I am not able to create SQL Managed Instance as it takes public IP in Virtual network. Is there a way to configure the virtual network with private IP for SQL Managed Instance?
below is the policy:
"properties": { "policyType": "Custom", "mode": "Indexed", "description": "Security policy we do not allow public ip addresses and user defined routes", "policyRule": { "if": { "anyOf": [ { "source": "action", "like": "Microsoft.Network/publicIPAddresses/" }, { "source": "action", "like": "Microsoft.Network/routeTables/" } ] }, "then": { "effect": "deny" } }