The official way is to remove the transmission to get to all bolts of the upper oil pan, as some of the bolts are in the bell housing of the 4HP24 automatic transmission.
However, there is a way to drill some holes into the bell housing to get to these bolts and the tranny can stay installed.
Write-up and pics here
http://www.bimmerboard.com/forums/posts/346035