From 911e17b224f0b99bd73475830d770f6eef6ebe15 Mon Sep 17 00:00:00 2001 From: Heng Lu <79895375+ms-henglu@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:03:20 +0800 Subject: [PATCH] `azurerm_data_factory_integration_runtime_self_hosted` - fix the bug that auth keys are not exported (#25246) --- .../data_factory_integration_runtime_self_hosted_resource.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/services/datafactory/data_factory_integration_runtime_self_hosted_resource.go b/internal/services/datafactory/data_factory_integration_runtime_self_hosted_resource.go index d6eec7cbe398..73045e82b1b0 100644 --- a/internal/services/datafactory/data_factory_integration_runtime_self_hosted_resource.go +++ b/internal/services/datafactory/data_factory_integration_runtime_self_hosted_resource.go @@ -197,6 +197,9 @@ func resourceDataFactoryIntegrationRuntimeSelfHostedRead(d *pluginsdk.ResourceDa return fmt.Errorf("setting `rbac_authorization`: %#v", err) } } + + // The ListAuthenticationKeys on integration runtime type Linked is not supported. + // Only skip the call to ListAuthKeys if the linkedInfo is valid. return nil } }