In an on-prem/self-hosted azure pipelines release task, I want to deploy database updates via sqlpackage.exe to sql server.
I am currently doing this with a command line task.
The admins require a connection to sql server with a trusted domain account that is different from the account running the pipeline agent. The specific account will be different for different databases. (They do not allow a sql server login w/ username and password that I can give to sql package.exe)
So In an azure devops task, is there any way to run a command under a different domain account than the one the agent is running under (i.e. impersonate a different account)?