Do the lights never work? or just under certain circumstances? there are three ways the lamps should come on, I think -- When you open that particular door, when you open some other door, and when you manually turn on the ambient lights from the center screen. In my car, i noticed the right front passenger lamps were not coming on when I manually actuated the lights from the Ambient lights button on the screen. But when I investigated, I found they did turn on when that door was opened. So the lamps themselves were OK.
I had an upcoming service appointment so I asked the service center to investigate. They said the connectors for the puddle lamps and the ambient lams were reversed, and corrected them. My theory is that the connectors got reversed when the door was taken apart some time ago to repair the door handle.
There is another thread on here somewhere that suggested this possibility to me.