The answer to that is because my pipeline also has an input of a service connection and it seems to load some stuff behind the scenes which made it possible