$$\require{cancel}$$
The units erg $$\text{G}^{-1}$$ or $$\text{J T}^{-1}$$ are frequently encountered for magnetic moment.  These may be dimensionally correct, although ergs and joules (units of energy) are not quite the same things as $$\text{dyn cm}$$ or $$\text{N m}$$ as units of torque.  It could be argued that magnetic moment could be defined from the expression $$-\boldsymbol{p.B}$$ for the potential energy of a magnet in a magnetic field.  But the correct expression is actually constant $$-\boldsymbol{p.B}$$, the constant being zero only if you specify that the energy is taken to be zero when the magnetic moment and field vectors are perpendicular to each other.  This seems merely to add yet further complications to what should be, but unfortunately is not, a concept of the utmost simplicity.
Nevertheless the use of ergs or joules rather than $$\text{dyn cm}$$ or $$\text{N m}$$ is not uncommon, and nuclear and particle physicists commonly convert joules to $$\text{MeV}$$.  Magnetic moments of atomic nuclei are commonly quoted in nuclear magnetons, where a nuclear magneton is $$e\hbar / (2m_p)$$ and has the value $$3.15 \times 10^{-4} \ \text{MeV T}^{-1}$$.  While one is never likely to want to express the magnetic moment of the planet Uranus in nuclear magnetons, it is sobering to attempt to do so, given that the magnetic moment of Uranus is quoted as $$0.42 \ \text{Oe km}^{-1}$$. While on the subject of Uranus, I have seen it stated that the magnetic quadrupole of Uranus is or the same order of magnitude as its magnetic dipole moment – though, since these are dimensionally dissimilar quantities, such a statement conveys no meaning.
Another exercise to illustrate the points I have been trying to make is as follows.  From four published papers I find the following.  The magnetic moment of Mercury is $$1.2 \times 10^{19} \ \text{A m}^2$$ in one paper, and $$300 \ \text{nT} \ {\text{R}_M}^3$$ in another. The magnetic moment of Uranus is $$4.2 \times 10^{12} \ \text{Oe km}^3$$ in one paper, and $$0.23 \ \text{G} \ {\text{R}_U}^3$$ in another.  The radii of Mercury and Uranus are, respectively, $$2.49 \times 10^6 \ \text{m}$$ and $$2.63 \times 10^7 \ \text{m}$$.  Calculate the ratio of the magnetic moment of Uranus to that of Mercury.  If you are by now completely confused, you are not alone.