简体   繁体   中英

Could not fetch access token for Managed Service Principal During DevOps Implementation

I have tried to deploy an Azure Data Factory ARM template into an instance using DevOps.

To deploy there are three steps.

  1. Stop the trigger with pre deployment scripts provided by microsoft.
  2. ARM template deployment
  3. 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.

The above issue was because of service connection from devops project when I try to create a connection to the ADF instance using Managed Identity as Authentication method. It was resolved when I create a new service connection with Authentication method as Service Principal.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM