azureazure-devopsazure-pipelines-release-pipelinedacpac

Using Integrated Active Directory on an Azure DevOps release pipeline - "failed to authenticate"


I'm using Azure DevOps to release my DacPac into a dedicated SQL pool. We are using MFA. However, when I try to use "Active Directory - Integrated" in the "Azure SQL Data Warehouse deployment" task, I am getting the following error:

enter image description here

This is a screenshot of my task config:

enter image description here

What do I need to do in order for my deployment to authenticate? I am an "owner" on the destination dedicated pool and configuring the release pipeline under my own login.


Solution

  • "Integrated" means that it uses the domain account running the process to authenticate. But since I expect you are running this on a shared agent that is not connected to your AD domain, that will not work. You need to most likely authenticate with either SQL authentication or Azure AD password authentication. The second option will not work if the user has MFA.