We'd like to migrate our SQL Server connections over to using Windows authentication in an ASP.NET application that uses impersonation for connection to a third party system. If we switch the connection strings to using Windows authentication then the impersonated user gets passed through and the connection fails.
Is there a way to use Windows authentication using the account that the Application Pool is running under, whilst still using impersonation for other things?