When I'm using version 1.2.1 of the library, the service fails to start when using gMSA.
It works perfectly with local system accounts and local users.
I downgraded the module to version 1.0.0, and now it works as expected (at least the service starts).