Linked services does not appear in Azure data factory.

huangapple go评论55阅读模式
英文:

Linked services does not appear in Azure data factory

问题

Linked services will appear in an ADF with Git integration after executing the following command:

az datafactory linked-service create

英文:

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 

答案1

得分: 1

  • 由于您在数据工厂中以实时模式创建了关联服务,但在GIT模式下尝试查找这些关联服务,因此您无法查看任何已链接的服务。

  • 我已使用以下命令创建了一个关联服务:

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>"

  • 当我列出它们时,我将能够看到上面创建的关联服务:

az datafactory linked-service list --factory-name "df240523" --resource-group "v-sarikontha-Mindtree"

  • 但是,正如您所看到的,上面创建的关联服务在Git模式/分支中不可见。

  • 但是,当我导航到Git配置 -> 导入资源,然后在Git模式下刷新工厂时,我能够在UI中查看更改和创建的关联服务。

  • 以下是参考的UI图像:

英文:
  • 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 &quot;df240523&quot; --properties &quot;{\&quot;type\&quot;:\&quot;AzureStorage\&quot;,\&quot;typeProperties\&quot;:{\&quot;connectionString\&quot;:{\&quot;type\&quot;:\&quot;SecureString\&quot;,\&quot;value\&quot;:\&quot;DefaultEndpointsProtocol=https;AccountName=blb240523;AccountKey=&lt;account_key&gt;\&quot;}}}&quot; --name &quot;blob1&quot; --resource-group &quot;&lt;resource_grp&gt;&quot;

Linked services does not appear in Azure data factory.

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

Linked services does not appear in Azure data factory.

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

Linked services does not appear in Azure data factory.

  • 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.

Linked services does not appear in Azure data factory.

  • The following is the UI image for reference:

Linked services does not appear in Azure data factory.

huangapple
  • 本文由 发表于 2023年5月24日 18:59:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76322795.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定