<i>In vivo</i>, loss of MZB1, the J chain, or both altered IgA abundance and form, differentially affected susceptibility to DSS-induced colitis, and reshaped gut microbiota composition. The gene discussed is CD79A; the disease is colitis.