Hi Thai Nguyen,
Thanks for posting your question in the Microsoft Q&A forum.
It seems that the network interface is being deployed successfully, but you are not able to see it in the Azure portal or when listing the resources.
- Ensure that the name you are providing for the network interface (
nicName
parameter) follows the Azure naming conventions. - Double-check that you are looking for the network interface in the correct resource group. In your command, you are deploying the network interface to the
az-nw-cmp-rg01
resource group - Double-check that you are looking for the network interface in the correct resource group.
- Verify that you are deploying the Bicep file at the correct scope.
- Ensure that you have the necessary permissions to create network interfaces in the resource group and subscription
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful