Fair enough, there is an annoying (basically undocumented by both Microsoft and UiPath) scope you need to include that allows the connection to stay alive, since you could make an initial connection then it broke it sounded similar, but if you use the vanilla connection method it shouldnt be the issue as only in ‘bring your own’ can you change the scopes.