Run AspNet Core app in docker using GMSA

I am trying to use GMSA to connect SQL from a main AspNet application. All preparatory steps are in progress, but it doesn't seem to work. I think the reason is that the application is launched with "dotnet.exe myapp.dll" and does not use the LocalSystem or Network accounts that are "proxied" through the GMSA account.

Is there a way to run an application in a container in LocalSystem without using a Windows service, or using IIS?

I already tried to use sysinternal "psexec64 -s" as entry point, but with error:

Connecting to local system...Starting PSEXESVC service on local system...Connecting with PsExec service on
1B2887C13C61...Error establishing communication with PsExec service on 1B2887C13C61:
The handle is invalid.

      

+3


source to share





All Articles