My sunroof is perfectly quiet, but I suggest you lubricate the seals with a light coating of Vaseline or equivalent. Are you sure it's the sunroof? To confirm, next time the ticking noise is noticeable, slide or tilt the sunroof to determine if the ticking noise disappears.