diff --git a/internal/services/monitor/monitor_diagnostic_setting_resource.go b/internal/services/monitor/monitor_diagnostic_setting_resource.go index b7c05c3a67fe..a9f2eb7b65f3 100644 --- a/internal/services/monitor/monitor_diagnostic_setting_resource.go +++ b/internal/services/monitor/monitor_diagnostic_setting_resource.go @@ -336,7 +336,7 @@ func resourceMonitorDiagnosticSettingRead(d *pluginsdk.ResourceData, meta interf workspaceId := "" if props.WorkspaceId != nil && *props.WorkspaceId != "" { - parsedId, err := workspaces.ParseWorkspaceID(*props.WorkspaceId) + parsedId, err := workspaces.ParseWorkspaceIDInsensitively(*props.WorkspaceId) if err != nil { return err } diff --git a/internal/services/securitycenter/security_center_workspace_resource.go b/internal/services/securitycenter/security_center_workspace_resource.go index 9194a7569901..f61c9cd77aaf 100644 --- a/internal/services/securitycenter/security_center_workspace_resource.go +++ b/internal/services/securitycenter/security_center_workspace_resource.go @@ -159,7 +159,7 @@ func resourceSecurityCenterWorkspaceRead(d *pluginsdk.ResourceData, meta interfa d.Set("scope", properties.Scope) workspaceId := "" if properties.WorkspaceID != nil { - id, err := workspaces.ParseWorkspaceID(*properties.WorkspaceID) + id, err := workspaces.ParseWorkspaceIDInsensitively(*properties.WorkspaceID) if err != nil { return fmt.Errorf("Reading Security Center Log Analytics Workspace ID: %+v", err) }