An Azure service that provides enterprise-grade file shares powered by NetApp.
The error you are encountering, OperationNotPermittedOnNicCreatedByDifferentOwner, indicates that the Network Interface (NIC) you are trying to delete was created by the Azure NetApp Files service and can only be modified or deleted by that service. This is a common restriction in Azure where certain resources are managed exclusively by their creator.
To resolve this issue, you typically need to delete the Azure NetApp Files account first, which you mentioned you have already done. However, if the NIC is still present and cannot be deleted, you may need to check if there are any dependencies or associated resources that need to be removed first. If the NIC is orphaned and you cannot delete it through the Azure portal or CLI, you might need to contact Azure support for assistance, as they can help you with resources that are stuck due to ownership issues.
References: