在订阅之间复制文件共享数据 - 这里目标订阅位于虚拟网络中

问题描述 投票:0回答:1

忘了说这个问题的关键点了:

如何在存储帐户的订阅之间复制文件共享数据 - 描述中给出的场景

此处目标订阅存储帐户位于禁用公共访问的虚拟网络中。我们还为每个存储服务(例如 blob、文件、队列和表)创建了私有端点。

感谢@RakeshGovindula给出的答案,但在这种情况下需要你的帮助。

我已经尝试了您提供的相同解决方案,但是管道失败了,因为我说目标订阅资源位于虚拟网络中。

所以,我收到如下错误:

ErrorCode=UserErrorInvalidCredential,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,
Message=Fail to connect to https://targetstorageacc.file.core.windows.net/targetfs1: 
Error Message: This request is not authorized to perform this operation. 
(ErrorCode: 403, Detail: This request is not authorized to perform this operation.,
1. Please check storage network setting whether public network access is disabled. 
If disabled, use Managed Virtual Network IR and create Private Endpoint to access.
 https://docs.microsoft.com/en-us/azure/data-factory/managed-virtual-network-private-endpoint. 
https://docs.microsoft.com/en-us/azure/data-factory/tutorial-copy-data-portal-
private</value> 2. Make sure the credential provided is
 valid.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,
Message=The file is forbidden to access:
azure azure-data-factory azure-storage azure-virtual-network
1个回答
0
投票

enter image description here

要解决上述错误,您可以按照以下步骤操作:

  1. 使用虚拟网络配置创建集成运行时,如下所示:

enter image description here

  1. 转到 Azure 数据工厂管理选项卡,然后单击“新建”选项创建一个新的专用终结点。选择 # Azure 文件存储选项,然后从列表中选择您的帐户名。单击“创建”。此操作需要存储帐户的批准。

  2. 在 blob 存储帐户中,转到网络选项卡并选择“专用终结点连接”。您将看到一个超链接,引导您在存储帐户级别批准专用终结点。点击超链接并批准,如下图:

enter image description here

  1. 成功批准后,通过创建的集成运行时与所需的详细信息进行连接。链接服务测试成功,如下图:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.