When describing the DeployIfNotExists properties in our docs, it's stated for the Name property that when the condition values for if.field.type and then.details.type match, then Name becomes required and must be [field('name')]. This is not entirely correct, since for sub resources like subnets this will result in an error during policy evaluation. For sub resources the comparison must be [field('fullName')]

⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@fawohlsc Thanks for the feedback. I'll validate with the engineer and get back to you.
@MicrosoftDocs/azure-cxp-triage Please label 'doc-enhancement' and #in-progress.
@fawohlsc The team has confirmed this, so I've updated the doc. When that PR merges, this issue will automatically be closed. Thanks again for the feedback and pointing this out!
@DCtheGeek this was blazing fast - many thanks! 🥇