"The vSphere Distributed Switch configuration on some hosts differed from that of the vCenter Server.""Out of sync""Cannot complete a vSphere Distributed switch operation for one or more host members"There are a number of possible causes for this symptom.
Please refer to this KB for the appropriate scripted resolution steps: KB 412915 - "The vSphere Distributed Switch configuration on some hosts differed from that of the vCenter Server" seen in the vCenter Networking icon view, Summary tab of a vDS