I have what I assume to be a pretty standard setup:
- ServerA running a web application as
ServiceAccount1
- ServerB running SSIS as
ServiceAccount2
. - ServerC hosting a network share that ServiceAccount1 has permissions to read from
The web application initiates an SSIS package execution via SQL commands. The package tries to read a file from the network share and fails due to the double-hop problem (login failed on ServerC, "anonymous login".
How can I get this to work? The SPNs are already there, and I've tried granting the delegation permission but SSIS refuses to forward on the credentials.
ServiceAccount1
needs to be a domain user,ServerA
andServerB
andServerC
need to be domain joined, and Kerberos Constrained Delegation (or Resource based CD) need to be setup. Speak to your IT team or whoever runs your domain. If you think you have set up delegation correctly please show.Set-ADAccountControl -identity ServiceAccount$ -TrustedForDelegation $true -TrustedToAuthForDelegation $false
to enable unconstrained delegation (just trying to get it working at this point)