Have the same problem on a E46compact though
I thought it was the shocks but after replacing all 4 shocks and the mountings the noise is still there. I noticed when it has been raining the noise goes away and the last time I thought I had cured the problem I had taken the car in for the undercarriage wash but after 2 weeks the irritating squeaky noise was back.