I have a single Windows node running a .NET App container and an MSSQL Container running in a swarm. I have the same two containers running on a second Windows node that uses gMSA for authentication against AD . The gMSA non-swarm configuration can successfully run PowerShell scripts on any server in the domain, generally due to using gMSA. In the real-life AD, gMSA is not being used.
I would like to use the Two containers in the Swarm and Authenticate against the AD in order to run PowerShell against any server in the domain without gMSA. Currently, the container uses a local user. ContainerID\LocalUser. So, the result of the script is a fail due to authentication on the domain joined servers.
Is it possible to authenticate from the container to the AD without gMSA.
Windows PowerShell transcript start
Start time: 20190322144718
RunAs User: 6E4D723D3D4B\TestUser