Turns out to be a very easy adjustment. My sunroof appeared to not be closing properly. The mechanism worked properly but the glass was not coming up flush with the roof, It appeared to be maybe an eighth of an inch or more low at the front edge.
The adjustment is acomplished by loosening 4 screws, pushing the glass into place and re-tightening the screws.
You'll need a torx screwdriver, T-25 size and a flashlight. From inside the car, locate the four screws, two on each side of the glass. They are visible with the shade open and the glass closed. They are oriented horizontally with their heads facing towards the centerline of the car.
Loosen the screws a turn or two and push the glass up or down as required. This is best done from outside the car where you can see the glass, the rubber seal and the roof. You'll want to get the seal flush with the roof, maybe a tiny bit higher at the rear than at the front. On my car the curve of the roof is not exactly the same as the curve of the glass, but do the best you can.
While holding the glass at one corner with one hand, tighten the screw at that corner with the other hand. It may sink down a little from the flexing of the seal, so be patient.
Tighten the screws to 44 inch-lbs. (Firmly with one hand on the screwdriver.)