Transact-SQL job step to run under proxy

  • Hello

    I have a Transact-SQL job step that I want to run under a proxy however I cannot get it to work. I have created the credential then created the proxy to run under all subsytems however when I try and choose the proxy in the 'run as' drop down it does not appear. I am running sql server 2008 enterprise edition

  • You need to give permission to the Agent Job owner to use the Proxy.

    EXEC msdb.dbo.sp_grant_login_to_proxy @proxy_name=N'domain\user', @login_name=N'domain\user'

    GO

    Or browse to Principals under the proxy in SQL Agent.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply