sql-serverssissql-server-2017sql-agent-job

How do I avoid the SSIS error "Unable to determine if the owner (MyOwner) of job MyJob has server access"


I have an extremely simple SSIS package on my SQL Server 2017 database instance, running via an agent job. I have created a credential and proxy account to run the integration service job. If the job owner is 'sa' the job will run fine. however if I change the job owner to the service account I need to have I get the following error:

The job failed. Unable to determine if the owner (THE_FUND\xyz_svc) of job MYPITAJob has server access (reason: Could not obtain information about Windows NT group/user 'THE_FUND\xyz_svc'<c/> error code 0x5. [SQLSTATE 42000] (Error 15404)

Additionally the service account is a local admin on the server, and sysadmin in sql server in an attempt to remove possible permission issues.

I created a credential using the service account as its identity. Then created a proxy account under SSIS Package Execution referencing the credential i created.

Would love to know what I am missing.


Solution

  • As it turns out the issue was related to Active Directory. The service account had no registered OU. Once the service account was removed, and recreated the OU was populated and everything with the SQL Server jobs started working. I guess sometimes SQL Server is not to blame. Once SQL Server was able to find the information it needed from AD, problem solved.