I created a report "Patching Failures - Top 50 computers by Failure", then schedule it as a task to generate PDF report. In the task properties, I configured the SMTP settings, a test email can be sent successfully.
I specified a user as Recipients, this user only have permissions for software distribution and reporting modules on a specified custom scope. When running the task, it failed with the error:
Failed, task handler exception.
The user who is configured to receive the report, doesn't have permission on all devices. So this user shouldn't receive the report. This is working as design. Thus when sending the report to the user, this exception will happen.
In Administration | User Management, please select the corresponding user, edit the scope of this user to all devices. Then the schedule report should work.