Recently, we noticed that our tasks were failing with error "Exception in Task: System.Exception: Could not find the specified Connection for Foreground execution.". This was after we logged out the user under which our tasks run.
In the settings of that task, you can see user is specified in lowercase: "administrator":
After changing it to "Administrator" (with the first letter in uppercase), the task was executed correctly again (which is strange, because it has worked with all lowercase before).
Is this by design? Or is this a bug?