We examine the magnetic ordering of UN and of a closely related nitride, U2N3, by preparing thin epitaxial films and using synchrotron x-ray techniques. The magnetic configuration and subsequent coupling to the lattice are key features of the electronic structure. The well-known antiferromagnetic (AF) ordering of UN is confirmed, but the expected accompanying distortion at Tn is not observed. Instead, we propose that the strong magneto-elastic interaction at low temperature involves changes in the strain of the material. These strains vary as a function of the sample form. As a consequence, the accepted AF configuration of UN may be incorrect. In the case of cubic a-U2N3, no single crystals have been previously prepared, and we have determined the AF ordering wave-vector. The AF Tn is close to that previously reported. In addition, resonant diffraction methods have identified an aspherical quadrupolar charge contribution in U2N3 involving the 5f electrons; the first time this has been observed in an actinide compound.