How I fixed – JobOwner doesn’t have permissions to use proxy 1 for subsystem PowerShell

I encountered this pesky error when trying get a PowerShell script to run from SSIS.  It ran fine from PS.  I had defined a credential and a proxy so I thought I had the security settings correct.  Here is how I fixed it.  Through trial, error and Google I checked the msdb.dbo.sysproxies table.  The enabled bit for the proxy was set to zero.  So to enable it I ran sp_update_proxy @proxy_id = <id>, @enabled=1.  That enabled the proxy and the PowerShell script was able to run.

This entry was posted in PowerShell, SQL Server Integration Services and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s