简体   繁体   English

无法通过在 ADF 中创建的 Azure SSIS/SSIS 运行时使用 Windows 身份验证连接到 azure 多维数据集

[英]Can't connect using windows authentication to azure cube over Azure SSIS /SSIS run time created in ADF

I have SSIS package created locally which connects to azure cube.我在本地创建了连接到 azure 立方体的 SSIS 包。 In order to connect to azure cube I am using windows authentication as shown below:为了连接到 azure 立方体,我使用 Windows 身份验证,如下所示:

在此处输入图片说明

As shown above I am able to connect to Azure cube locally (ie on my desktop version of SSDT) via windows authentication.如上所示,我可以通过 Windows 身份验证在本地(即在我的桌面版 SSDT 上)连接到 Azure 多维数据集。

Now I have created a azure SSIS runtime in ADF (Please note this azure subscription of ADF is different than that of the azure cube which i am connecting to).现在我已经在 ADF 中创建了一个 azure SSIS 运行时(请注意,ADF 的这个 azure 订阅与我正在连接的 azure 立方体的订阅不同)。 Now when i deploy the local (ie desktop version ) of SSIS package to the azure SSIS and try to run trigger the SSIS package via azure catlog in SSMS or through azure ADF i am getting the below connection failure message现在,当我将 SSIS 包的本地(即桌面版本)部署到 azure SSIS 并尝试通过 SSMS 中的 azure catlog 或通过 azure ADF 运行触发 SSIS 包时,我收到以下连接失败消息

1) Error which i get when i try to run the package on SSIS catlog over azure server 1) 当我尝试通过 azure 服务器在 SSIS catlog 上运行包时出现错误在此处输入图片说明

2) Error which i get when i try to run the deployed SSIS package via ADf created. 2) 当我尝试通过创建的 ADf 运行部署的 SSIS 包时出现错误。 在此处输入图片说明

Error details错误详情

Output输出

{ "SsisDBOperationGuid": "ed2ca785-a942-434a-955a-9c1f0b5ed3b7", "SsisDBOperationId": 26, "OperationErrorMessages": "12/29/2019 7:23:47 AM +00:00 : Data Flow Task:Error: ADO NET Source has failed to acquire the connection {280FE230-2294-49D8-A947-D2EA8A7F29A2} with the following error message: \\"COM error: COM error: mscorlib; {“SsisDBOperationGuid”:“ed2ca785-a942-434a-955a-9c1f0b5ed3b7”,“SsisDBOperationId”:26,“OperationErrorMessages”:“12/29/2019 7:23:47 AM +00:00:错误:数据流任务: ADO NET 源无法获取连接 {280FE230-2294-49D8-A947-D2EA8A7F29A2},并显示以下错误消息:\\"COM error: COM error: mscorlib; Exception has been thrown by the target of an invocation..\\".\\r\\n\\n12/29/2019 7:23:47 AM +00:00 : Data Flow Task:Error: ADO NET Source failed validation and returned error code 0xC0208449.\\r\\n\\n12/29/2019 7:23:47 AM +00:00 : Data Flow Task:Error: One or more component failed validation.\\r\\n\\n", "effectiveIntegrationRuntime": "SSSISruntime (West US 2)", "executionDuration": 6, "durationInQueue": { "integrationRuntimeQueue": 1 } }调用的目标已抛出异常..\\"。\\r\\n\\n12/29/2019 7:23:47 AM +00:00:数据流任务:错误:ADO NET 源验证失败并返回错误代码 0xC0208449。\\r\\n\\n12/29/2019 7:23:47 AM +00:00 :数据流任务:错误:一个或多个组件验证失败。\\r\\n\\n", "effectiveIntegrationRuntime": " SSSISruntime(美国西部 2)”,“executionDuration”:6,“durationInQueue”:{“integrationRuntimeQueue”:1}}

Even though i am using windows authentication in ADF connection which uses the same credentials by which visual studio package is running locally i am getting the above error.即使我在 ADF 连接中使用 Windows 身份验证,该连接使用 Visual Studio 包在本地运行的相同凭据,但我仍收到上述错误。 Could you please let me know how can i run a ssis pakage package in ssis azure runtime by windows authention mode and can connect to the azure cube?您能否让我知道如何通过 Windows 身份验证模式在 ssis azure 运行时运行 ssis pakage 包并可以连接到 azure 立方体? Any help would be greatly appreciated任何帮助将不胜感激

You will need to refer this section:您将需要参考此部分:

Use Windows authentication in staging tasks在暂存任务中使用 Windows 身份验证

If the staging tasks on your self-hosted IR require Windows authentication, configure your SSIS packages to use the same Windows authentication.如果自承载 IR 上的暂存任务需要 Windows 身份验证,请将 SSIS 包配置为使用相同的 Windows 身份验证。

Your staging tasks will be invoked with the self-hosted IR service account (NT SERVICE\\DIAHostService, by default), and your data stores will be accessed with the Windows authentication account.您的暂存任务将使用自托管 IR 服务帐户(默认为 NT SERVICE\\DIAHostService)调用,您的数据存储将使用 Windows 身份验证帐户访问。 Both accounts require certain security policies to be assigned to them.这两个帐户都需要为其分配某些安全策略。 On the self-hosted IR machine, go to Local Security Policy > Local Policies > User Rights Assignment, and then do the following:在自托管 IR 计算机上,转到本地安全策略 > 本地策略 > 用户权限分配,然后执行以下操作:

Assign the Adjust memory quotas for a process and Replace a process level token policies to the self-hosted IR service account.将调整进程的内存配额和替换进程级别令牌策略分配给自托管 IR 服务帐户。 This should occur automatically when you install your self-hosted IR with the default service account.当您使用默认服务帐户安装自托管 IR 时,这应该会自动发生。 If it doesn't, assign those policies manually.如果没有,请手动分配这些策略。 If you use a different service account, assign the same policies to it.如果您使用不同的服务帐户,请为其分配相同的策略。

Assign the Log on as a service policy to the Windows Authentication account.将作为服务登录策略分配给 Windows 身份验证帐户。

MSFT Document MSFT 文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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