In the diagrams down below I have included the factory diagnostic troubleshooting guide for the issue that is going on with your sunroof. It should enable you to track down and fix the problem that your vehicle is having. Please go through the guide and get back to us with what you are able to find out.
Images (Click to enlarge)
Monday, June 17th, 2019 AT 8:36 PM