How to modify connection string when using PerformDeployFromPackage addin in TFS?
nfp1
Posts: 6 Bronze 1
I am using Redgate addins in TFS for build and release. Lately security settings in target SQL server are changed and default Windows authentication started to fail. I need to modify some Connection string properties to be able to connect server. How it can be made?
Thanks,
Tagged:
Answers
I am checking if there's a way to also add this on the addons and will post my findings here.
Product Support Engineer
Redgate Software Ltd
Please see our Help Center for detailed guides on how to use our tools
Please keep an eye on the release notes at https://documentation.red-gate.com/sca/release-notes-and-other-versions/add-on-release-notes to check whether this has been implemented or not.
Product Support Engineer
Redgate Software Ltd
Please see our Help Center for detailed guides on how to use our tools
Sergio,
I am trying to follow your advice and implement PowerShell components instead of addons in Build and Release. And having the same issue - cannot find the way to provide parameter TrustServerCertificate=True to the New-DatabaseConnection cmdlet. Is it any way to do it using PowerShell?
Thank you,
Nikolai
Answering myself. Found an option to use cmdlet Test_DatabaseConnection instead which can consume explicit connection string.