var allproductdata =
_context.tbl_roadmapautomation.GroupBy(p=>p.Stream).ToList();
will work
You need convert from this result to an IList<> (eg, with a cast).
But I don't think you want to -- IList is just the interface definition, why would you want a list like that?