Alternatively, you can thread an 8x1.25 bolt into the shaft and pull while rotating the shaft.
E30 M3 Repair Manual V2.7. Copyright ©1999-2001 Koala Motorsport & Brett Anderson