In the process of migrating TMC SaaS to SM, after installing TMC SM, clicking on Cluster > Configure > TKG Service > Default CNI and Tanzu Mission Control, vCenter UI returns "502 Bad Gateway".
This can happen when the new TMC SM URL is different from the previous SaaS URL.
Update the TMC URL and restart the tkg-plugin pods.