I have a domain controller running Server 2012 R2, and am trying to get a task scheduler event to run using a gMSA on it. I've created group Managed Service Account (gMSA) using the steps located at https://blogs.technet.microsoft.com/askpfeplat/2012/12/16/windows-server-2012-group-managed-service-accounts/.
However, when I try to run the task scheduler the following error is generated in Event Viewer:Failure occurred in "LogonUserExEx" . User Action: Ensure the credentials for the task are correctly specified. Additional Data: Error Value: 2147943726. I ran the commandTest-ADserviceAccount -Identity gmsaAccount$ and the result is True so it appears that the account is working. I have verified the gMSA account is configured withLog on as a batch job in the Local Security Policy. Any help on what could be the cause of my issue would be greatly appreciated.
Thanks,
EJ
Thanks,
EJ