The cached gMSA credentials can be removed from the member host using Uninstall- ADServiceAccount cmdlet or the NetRemoveServiceAccount API on the host system. Syntax: Uninstall-ADServiceAccount <ADServiceAccount> Reference: https://docs.microsoft.com/en-us/windows-server/security/group-managed-service- accounts/getting-started-with-group-managed-service-accounts