Private Endpoint ARM template deployment: fix Complete mode
Deploying a Private Endpoint using an ARM template works fine in Incremental mode: the Microsoft.Network/privateEndpoints resource in the template automatically deploys the Microsoft.Network/networkInterfaces resource as well.
Deploying the template in Complete mode results in a failure however: because the NIC is not explicitly mentioned in the template ARM tries to delete it. This fails, which causes the deployment to return failure after about an hour.
I have not found a way to explicitly deploy a NIC in the template and link it to the Private Endpoint.
Please make it possible to deploy ARM templates in Complete mode when the template contains a Microsoft.Network/privateEndpoints resource.
Walid Moselhy commented
Jim Kroon commented
This is something we really need to have support for. We run all of our deployments in complete mode and we had to use a private endpoint andd we have to switch back to incremental mode which can cause a lot of configuration drift.
Complete mode compatibility mode should be required by default imo.