From 6fba699da93c9c649e94fbb7eaf16df21134036a Mon Sep 17 00:00:00 2001 From: Tom Harvey Date: Tue, 22 Mar 2022 11:08:18 +0100 Subject: [PATCH] Update internal/services/synapse/synapse_workspace_resource.go --- internal/services/synapse/synapse_workspace_resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/synapse/synapse_workspace_resource.go b/internal/services/synapse/synapse_workspace_resource.go index aa434e55cce4..dd5227cb077c 100644 --- a/internal/services/synapse/synapse_workspace_resource.go +++ b/internal/services/synapse/synapse_workspace_resource.go @@ -477,7 +477,7 @@ func resourceSynapseWorkspaceRead(d *pluginsdk.ResourceData, meta interface{}) e aadAdmin, err := aadAdminClient.Get(ctx, id.ResourceGroup, id.Name) if err != nil { - // AAD admin is not supported in a synapse workspace created from a Dedicated SQL pool (formerly SQL DW) + // NOTE: AAD Admin isn't supported for a Workspace created from a Dedicated SQL Pool / SQL DataWarehouse and returns a Conflict if !utils.ResponseWasNotFound(aadAdmin.Response) && !utils.ResponseWasConflict(aadAdmin.Response) { return fmt.Errorf("retrieving AzureAD Admin for %s: %+v", *id, err) }