"Thanks to" works for both positive and negative consequences.
You can correctly say "Thanks to X, the project succeeded" and "Thanks to X, the project failed."
Or another dimension is you can say "No thanks to X" if X did not help in any way (or hindered the project),
versus saying "thanks to X" because X did help in some way.
ell.stackexchange.com/users/4796/relaxing
I can't think of a specific way to do what you're looking for, so instead I'd suggest a set like the following: Positive outcome, positive contribution: "Thanks to X, Y" Positive outcome, negative contribution: "In spite of X, Y" Negative outcome, positive contribution: "In spite of X['s hard work/good effort/etc], Y" Negative outcome, aligned contribution/causal link: "[In part] due to X, Y" For example: "Thanks to Paul, we got all our TPS reports done on time."
"
In spite of Dave's colossal screw ups, we did manage to get all the gold we needed for the pyramid."
"
In spite of Imhotep's amazing invisibility, the heist was foiled by police.
" "Due to Grontar's enormous left foot, the ritual circle was ruined."
ell.stackexchange.com/users/2453/Aesin
Yes there is.
Look at this...
Damn!
The cricket match is cancelled and it was the final match.
All thanks to rain!
We are just being ironic there.
Here, thanks to would mean due to/or because.
Similar thread here .
ell.stackexchange.com/users/3187/Maulik V
Since you don't want to sound ironic try "In spite of" or "despite"
ell.stackexchange.com/users/5645/user5645
In the UK, "no thanks to" is a common opposite.
As in: I made it to work on time, no thanks to the weather! or Andy Murray got through to the final, no thanks to the doubters, and went on to win.
ell.stackexchange.com/users/5650/Guest
A suitable counterpart of "thanks to" would be "because of":"Thanks to X, the project succeeded""Because of X, the project failed."
ell.stackexchange.com/users/5648/Mint
"Because of ...", "as a result of ..." or "due to ..." They assign responsibility but without a positive or negative connotation, whereas "thanks to ..." implies a certain amount of happiness about the situation (unless it's used ironically).
ell.stackexchange.com/users/5669/Mike Ross
I'm a spanish speaker and we say "por culpa de" which would be literally "by fault of" which makes sense to me
but I have seen it just a few times really.
ell.stackexchange.com/users/None/
The thing to which the phrase "thanks to" is attributed usually produces positive consequence.  I wonder if there is a negative counterpart.  EDIT:  Many thanks.  I have now learned that  thanks to  can gain a negative meaning via irony.  But what if I do not want to sound ironic?
Is there a negative counterpart of the phrase "thanks to"?
ell.stackexchange.com
<phrases><antonyms>
ell.stackexchange.com/questions/20921
ell.stackexchange.com/users/4416/day
A suitable counterpart of "thanks to" would be "because of", "as a result of" or "due to". "In spite of" is often used, and "Thanks to" can be used ironically. Because of' is a negative counterpart, though 'thanks to' can work positively or negatively.
Because of' is a negative counterpart. Thanks to' can work positively or negatively.