Obama told Comey and Yates he had “learned of the information about Flynn” and his conversation with Russia’s then-ambassador to the U.S. about sanctions. Obama “specified that he did not want any additional information on the matter, but was seeking information on whether the White House should be treating Flynn any differently, given the information.”
https://www.foxnews.com/media/mollie-hemingway-obama-comey-trump-campaign-spying