I have a Moodle course published as LTI tool. I have successfully launched and completed the course from the consumer application a few times. Yet when the grade sync scheduled task runs, it does not send any results, and I see this in the log:
Starting - Grade sync for shared tool '6' for the course '66'.
Skipping - Empty sourceid for the user '378' in the tool '6' for the course '66'.
Skipping - Empty sourceid for the user '376' in the tool '6' for the course '66'.
Skipping - Empty sourceid for the user '375' in the tool '6' for the course '66'.
Skipping - Empty sourceid for the user '374' in the tool '6' for the course '66'.
Completed - Synced grades for tool '6' in the course '66'. Processed 4 users; sent 0 grades.
I don't understand how sourceid can be empty. Is it not populated from lis_person_sourcedid in the request?