johanclasson / vso-agent-tasks

Build and Release Tasks for Visual Studio Online and Team Foundation Server
MIT License
20 stars 16 forks source link

Account Service for Execution #44

Closed lekesako closed 5 years ago

lekesako commented 5 years ago

Hi,

it is possible to configure a service account AD to execute DbUp Operation. i don't want to use my account release to execute my script.

Thanks

Top Xavier

johanclasson commented 5 years ago

Sure!

Just configure your local build agent windows service to run with your service account, and use a connection string with trusted connection.

If you want a special account for just DbUp you will have to have a separate build agent just for that.

lekesako commented 5 years ago

thanks for your answer.

it's not possible to add a service account in task configuration ? it will be more useful than service account. it will be a good enhancement.