i like this diy...
http://www.pelicanparts.com/BMW/tech...eplacement.htm although ironically it doesn't show how to get that harness off too well. Easier to remove the two small torx bolts that attach the harness bracket to the plastic manifold, as mentioned above.