Getting issue while scheduling the SSIS package using SQL agent job.
I have designed an SSIS package which will connect to all the SQL server instances in our environement.
We have 3 tiers - PROD , UAT and DEV. we are using differet service accounts for PROD, UAT and DEV environments (e.g: Prod service accounts have access to all prod server but not UAT or DEV servers same with the UAT and DEV service accounts)
I have deployed the package on DEV environment and scheduled it through SQL Agent job. the job got failed due to insuffient permissions for the SQL Agent service account on the UAT and PROD environments.
Then i thought of using proxy.
Created credential for the domain user which is having access on all tiers. created proxy and used the credential which created above. and in the SQL agent job step i have modifed the package to run using this proxy account.
when i try to execute the package, i got the below error:
"The process could not be created for step 1 of job 0x1A00F7682AA7F44C94653D0E6F958041 (reason: A required privilege is not held by the client). The step failed. "
i have tried the below options as well:
modified the service account to use the domain account which has privileges on all the tiers (Not using the proxy setup here), then the job executed successfully without any issues.
Modified the Agent service account to run with Local system account, then the job executed successfully with the proxy setup.
only error i am getting is the agent service account running under the account which is having privileges on the DEV tier.
Can anyone help me out in fixing this issue