Recently i had issue where the ESXi license has expired and was not able to update/reconnced the host back to vcenter, once I tried to reconnect the host I did got this error message.
Cannot complete the license assignment operation "vSphere vMotion" "vSphere DRS" "vSphere Storage DRS" "vCenter agent for VMware host" "vSphere Distributed Switch" The Evaluation Mode license
even when I tried to update the license directly thru ESXi web client did got error message.
The license for this host is being managed by vCenter Server
Solution
assign license thru command line via SSH
run vim-cmd vimsvc/license --show
run vim-cmd vimsvc/license
–set=