From the TIS:
E90 - Driveshaft flange hub to output shaft:
For M27 Thread the torque is 420NM
For M24 Thread the torque is 259 NM
In each case the advice is to "replace collar nut, lightly oil contact surface"
e90 330d, Montego Blue, Beige Dakota Leather, Auto, Nav Pro, Bluetooth Prep, BMW Connected Drive, Voice Control, Sports Seats, Split Rear Seat, 18" Ellipsoid Wheels Style 162 Burr Walnut Trim