You have to uninstall and reinstall Entra ID connect to replace the service account by GMSA.
If you have a staging server , you can disable the staging mode during the service account switch the principal server to avoid any impact on your production environment.
Please don't forget to accept helpful answer