I have tried to deploy an Azure Data Factory ARM template into an instance using DevOps.
To deploy there are three steps.
- Stop the trigger with pre deployment scripts provided by microsoft.
- ARM template deployment
- Post deployment scripts by microsoft to refresh resources and restart trigger.
pre and post deployment script available from below microsoft link. https://docs.microsoft.com/en-us/azure/data-factory/continuous-integration-deployment
But while running the task I am getting below error.
I did a debug and find out that might be the issue with service connection in the DevOps project settings.
The above issue was because of service connection from devops project. It was resolved when I create a new service connection.
Stop the trigger with pre deployment scripts.
Are you using your own script to handle this. Are you able to deploy an Azure Data Factory ARM template locally instead through Azure DevOps. – PatrickLu-MSFT