0

I am executing the

az datafactory linked-service create 

command, which creates a new linked service in my ADF. It is visible. However, after integrating ADF with Git, the same command returns information about the created Linked Service, but it is not visible in the GUI. This is strange to me because the

az datafactory linked-service list 

command shows Linked Services from my branch, including the newly created one.

What am I doing wrong?

Expect:

Linked services will appear in an Adf with a Git integation after execute

az datafactory linked-service create 

2 Answers 2

1
  • You are not able to view any of the linked services is because you are creating the linked services in datafactory live more, listing the linked services in live mode but trying to find these linked services in GIT mode.

  • I have created a linked service using the below command:

 az datafactory linked-service create --factory-name "df240523" --properties "{\"type\":\"AzureStorage\",\"typeProperties\":{\"connectionString\":{\"type\":\"SecureString\",\"value\":\"DefaultEndpointsProtocol=https;AccountName=blb240523;AccountKey=<account_key>\"}}}" --name "blob1" --resource-group "<resource_grp>"

enter image description here

  • When I list these, I will be able to see the above create linked service:
az datafactory linked-service list --factory-name "df240523" --resource-group "v-sarikontha-Mindtree"

enter image description here

  • But, as you can see, the above created linked service is not visible in the git mode/branch.

enter image description here

  • But when I navigate to Git configuration -> import resources, and then refresh the factory in git mode, I am able to view the changes and the created linked service in UI as well.

enter image description here

  • The following is the UI image for reference:

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, it wokrs. But it looks weird.
Hi guys . I pushed my ADF from dev env to stage env using azure devops. I have all the services in adf-stage on live mode. After , I make the git configuration with stage branch. The linked service is not to be seen. In Live mode, I have 4 linked service. But in stage branch , There is only 2. I tried importing resources but it didn't worked. What could be the possible reasons??
0

enter image description here

enter image description here

These are two screenshots of LS in my ADF on live mode and branch mode.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.