You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of the scenario you tried and the problem that is occurring
Deny the creation of serviceEndpoints in all scenario's:
Creation from virtual network/settings/subnets/
Creation from virtual network/settings/service endpoints
Suggested solution to the issue
Register an alias to support using Microsoft.Network/virtualNetworks/subnets[].serviceEndpoints[] in a policy as follows:
@F-r-a-n-k-D , these are the aliases exposed today:
Microsoft.Network/virtualNetworks/subnets[].serviceEndpoints[].locations[]
Microsoft.Network/virtualNetworks/subnets[].serviceEndpoints[*].service
Details of the scenario you tried and the problem that is occurring
Deny the creation of serviceEndpoints in all scenario's:
Creation from virtual network/settings/subnets/
Creation from virtual network/settings/service endpoints
Suggested solution to the issue
Register an alias to support using Microsoft.Network/virtualNetworks/subnets[].serviceEndpoints[] in a policy as follows:
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Network/virtualNetworks"
},
{
"count": {
"field": "Microsoft.Network/virtualNetworks/subnets[].serviceEndpoints[]"
},
"greaterOrEquals": 1
}
]
}
The text was updated successfully, but these errors were encountered: