diff --git a/Generator/DataverseService.cs b/Generator/DataverseService.cs index 1032095..5ef175d 100644 --- a/Generator/DataverseService.cs +++ b/Generator/DataverseService.cs @@ -369,7 +369,7 @@ private static Record MakeRecord( return new DTO.Relationship( x.IsCustomRelationship ?? false, - label, + label ?? x.SchemaName, // Fallback to schema name if no localized label is available, this is relevant for some Default/System Many to Many relationships. logicalToSchema[!useEntity1 ? x.Entity1LogicalName : x.Entity2LogicalName].Name, "-", x.SchemaName,