May need to add the user Log on as a batch job rights.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
As the title suggests, I have a C# executable that needs to connect to Active Directory to retrieve data. When I run the program using the command line, I can successfully obtain data from Active Directory. However, when I set up a scheduled task, the connection fails.
May need to add the user Log on as a batch job rights.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--