There are no known harmful effects from the strong magnetic field used for an MR enterogram. But the magnet is very powerful. It may affect any metal implants or other medical devices you have.
If you breastfeed and are concerned about whether the contrast material used in this test is safe, talk to your doctor. Most experts believe that very little dye passes into breast milk and even less is passed on to the baby. But if you are concerned, you can stop breastfeeding for up to 24 hours after the test. During this time, you can give your baby breast milk that you stored before the test. Don't use the breast milk you pump in the 24 hours after the test. Throw it out.