It is only necessary to lower the headliner. Only do those step in headliner replacement that will lower the headliner enough to gain access to the part. Refer to
Headlining Trim Panel Replacement.
Disconnect the electrical connector.
Remove the screws securing the sunroof motor/actuator to the module.