The BMW Repair Guide strongly recommends removing the entire headlight assembly in 2000-2006 X5 vehicles to change the bulbs. This video gives detailed instructions on removing the headlight and replacing the bi-xenon high/low beam, angel eye, parking, and turn signal bulbs.
Need inexpensive replacement xenon bulbs? Purchase them at this link:
https://amzn.to/3EI9FTy
Need an angel eye bulb? Purchase them at this link: https://amzn.to/3CJvUIn