Is it possible to login to SQL using another AD-credential?
We want to use a service account loging into an application. This application is running onto 3 client PC's and is used by multiple users. For whatever reason we may not use a SQL account, but must use a service account.
I cannot get it to work. All I get is a login failed. Login in using a SQL account works great.
Current DataLink Properties: Servername: databaseserver User name: DOMAIN/service_account Password: password Database: database
Ar is it possible to map a AD account to a SQL account?
Yes. If you mean the service-account is added to the security group in SQL.
When I login (or 'run as' the application) under this service-account, then I can make a connection using Windows Authentication. But we want to store the login information so everone who uses the application, the application connects to the database with the service account credentials.
The account in SQL:
The account in the connection settings (which does not work atm):