When attempting to deploy or create a new Virtual Machine from a Template in VMware Cloud Director (VCD), the operation fails with the following error message:"User credentials used to connect from VMware Cloud Director to vCenter Server do not have enough privileges on object of type 'Network' with value 'network-##' in vCenter Server. Make sure the required privilege(s) 'Network.Assign' is set for this user in the vCenter Server."
VMware Cloud Director 10.5.x
VMware Cloud Director 10.6.x
Azure VMware Solution (AVS)
The permission provided for the service account in AVS environment does not have enough privileges required to create the VM
Add permission for the service account user on the particular network.
Steps to Add Network Permissions in vCenter
Locate the Network Object
Before assigning rights, you must find the specific network mentioned in the error (e.g., network-##).
Create or Verify the Service Role
If you don't have a specific role for the VCD service account, you should create one with the minimum required rights.
Assign the Permission to the User
Now, bind the user account to the role on that specific network object.
network-xx).Enabling the vCenter Server permissions required to modify virtual machine network settings