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/msi/user_assigned_identity_resource.go b/internal/services/msi/user_assigned_identity_resource.go index 1b05a86330a2..f34ff19d93d1 100644 --- a/internal/services/msi/user_assigned_identity_resource.go +++ b/internal/services/msi/user_assigned_identity_resource.go @@ -118,7 +118,7 @@ func resourceArmUserAssignedIdentityRead(d *pluginsdk.ResourceData, meta interfa ctx, cancel := timeouts.ForRead(meta.(*clients.Client).StopContext, d) defer cancel() - id, err := commonids.ParseUserAssignedIdentityID(d.Id()) + id, err := commonids.ParseUserAssignedIdentityIDInsensitively(d.Id()) 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) }