Think there is help in archives - not sure
Either these archives or Roadfly's archives had several posts on how to replace the bulbs in various switches including the sunroof switch. These posts may be helpful. Good luck

Originally Posted by
Paul in NZ
now that its dark on the way home i noticed that my sunroof switch light is out,the little amber tell tale that sits in the switch itself....how do you remove the switch...I am always fearful of pryin.......
Thanks,
1995 525i Auto, M50TU 2.5L, EAT chip, 1/95 build, USA, 205/65/15 tires, ASC+T, HID, lumbar, EC Mirror, BMW Alpine 5 radio with BMW-Pioneer CD Changer, abt 236k miles, Oxford Green/Parchment