Noisy sunroof in 2015 Audi Q5

noisy sunroof that Audi can’t seem to fix. Six attempts

The last attempt Audi replace the frame and the noise disappeared.After a few days driving I have a different noise coming from the front of the sunroof. The noise stops when the sunroof is open.

Has anybody checked the motor that operates the sunroof?