Sure any discontinuities or irregularities will negatively affect the performance. What do you mean exactly be surface flush? Like two surfaces not sharing the same centerline?
I have a surface with a hole cut in it that is the diameter of the fan. The fan is then placed in this hole so that the surface and the inlet of the fan are in the same plane.
Yes, the performance (flow and/or pressure) will be negatively affected. A well rounded entrance is best to provide a smooth flow of air into a fan. A quantitative difference would need to look at the fan's actual operating point. Do you need to actually determine the operating point of the fan or are you just asking qualitatively if the fan's performance will be adversely affected?
My fan is currently hooked up to a force balance to measure thrust, and I was concerned that this situation may not accurately reflect how the fan will perform.
It will allow it to perform just not as well as it could. This is why there is a lot of design and analysis work that goes into things like nacelles and inlets on aircraft.