An implantable medical device (IMD) receives an input associated with the presence of an environment having an external source that generates an interfering signal, such as an MRI device. The IMD adjusts a first set of one or more sensing parameters of a sensing module of the IMD in response to receiving the input associated with the presence of the environment. In this manner, the IMD operates in accordance with the adjusted sensing configuration in the presence of the interfering signal in an attempt to obtain a more detailed representation of the signal including noise caused by the interfering signal. The IMD analyzes the signals sensed using the first set of adjusted sensing parameters to determine if further adjustment is desired. If desired, the IMD adjusts a second set of one or more sensing parameters of the sensing module based on the analysis.