Excellent, thank you gentlemen. I tried the contact cleaner trick with no luck.
However, even though I searched there before, further googling got me to this ADVRider thread which suggests some fixes this.
https://advrider.com/f/threads/repairing-a-r1200gs-aux-light-switch.1108219/
I will try it next week. If it doesn't work I'll have to get a new switch, including the connector to under the tank cable. Thanks all.