I have a stored procedure that execute an ssis import package, that stored procedure is called by a service broker queue. I get the following error :
'The server principal "sa" is not able to access the database "SSISDB" under the current security context.'
- In the queue definition the activation procedure is setted "EXECUTE AS SELF"
- The SSISDB owner appeards to be by my usual login (ActiveDirectory login) (Apparently only windows logins, not database logins, can use SSIS ?)
- Tried to modify the queue definition to "EXECUTE AS " apparently sa can't impersonate another account.
Should I (and how / would that be harmless) change the SSISDB database owner to sa (well... dbo I guess ?) Is there another way to allow sa to execute the ssis package ?