Issues with gMSA connecting to S3

IanG 0 Reputation points

Hi all,

I am trying to run a scheduled task that uploads files from a Server 2016 host to our cloud providers S3 bucket, with all traffic routed through another Server 2016 instance acting as the outbound proxy. The scheduled task runs a powershell script that provides all of the S3 credentials.

The script works as intended when I run it, however when trying to run the script as a scheduled task using a gMSA, it cannot connect to the remote server with a 'The remote name could not be resolved' error.

I've been working at this for a few days now and I'm at a loss to explain how I can get this working with the gMSA. Any advice is appreciated, thanks.

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,426 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,096 Reputation points

    Hello there,

    This error usually means that while processing the URL for the web server, the underlying network connection was unable to convert the name into an IP address.

    There are several points that you need to check.

    1.Check that the name is correctly sepcified

    2.Verify that there is network connectivity as this is required to communicate with the DNS servers used to resolve a hostname

    3.Check that the DNS server address is correct especially if they are configured statically

    4.Check the firewall on server computer, try turn off your firewall which maybe block your program from accessing the internet

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–