Put bluntly, space-suits offer little protection from cosmic rays or a solar storm. Spacecraft such as ISS station must be designed with a 'storm cellar', an arrangement of equipment that will double as shielding when faced 'up-sun'...
IIRC, a massive solar flare occurred between the Apollo #16 & #17 missions which could have given an exposed crew a near-fatal radiation dose. It would certainly have made them very ill, perhaps incapable of flying the return leg of the mission...
This is why, although many artists' impressions of a moon-base show a cluster of pressurised modules, the real thing must add a thick topping of moon-dirt or have a 'storm-cellar' tunnelled several feet underground...
Similar problems apply to manned Mars missions, IIRC, as Mars does not have enough atmosphere or magnetic field to shield the surface...