Anyone here tried connection to on-prem sql server with windows auth, if so what should be the connection string.
I tried with
1.server=XXXXX.com,1234;Database=XXXX;Authentication=ActiveDirectoryDefault and no luck
2.server=XXXXX.com,1234;Database=XXXX;TrustServerCertificate=yes
errors as Invalid auth specification; DBCC Error: Login failed for user.
3.server=XXXXX\dbname;Database=XXXX;TrustServerCertificate=yes
errors as Invalid auth specification; DBCC Error: Login failed for user.
Anyone here tried connection to on-prem sql server with windows auth, if so what should be the connection string.
I tried with
1.server=XXXXX.com,1234;Database=XXXX;Authentication=ActiveDirectoryDefault and no luck
2.server=XXXXX.com,1234;Database=XXXX;TrustServerCertificate=yes
errors as Invalid auth specification; DBCC Error: Login failed for user.
3.server=XXXXX\dbname;Database=XXXX;TrustServerCertificate=yes
errors as Invalid auth specification; DBCC Error: Login failed for user.