The negative diversity‐invasion relationship observed in microbial invasion studies is commonly explained by competition between the invader and resident populations. However, whether this relationship is affected by invader‐resident cooperative interactions is unknown. Using ecological and mathematical approaches, we examined the survival and functionality of Aminobacter niigataensis MSH1 to mineralize 2,6‐dichlorobenzamide (BAM), a groundwater micropollutant affecting drinking water production, in sand microcosms when inoculated together with synthetic assemblies of resident bacteria. The assemblies varied in richness and in strains that interacted pairwise with MSH1, including cooperative and competitive interactions. While overall, the negative diversity‐invasion relationship was retained, residents engaging in cooperative interactions with the invader had a positive impact on MSH1 survival and functionality, highlighting the dependency of invasion success on community composition. No correlation existed between community richness and the delay in BAM mineralization by MSH1. The findings suggest that the presence of cooperative residents can alleviate the negative diversity‐invasion relationship.