As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
CREW REPORTS APU AUTO SHUTDOWN. IDG WAS INOP SO APU WAS STARTED. APU STARTED TO LOSE OIL WHICH SUBSEQUENTLY CAUSED THE DIVERSION. FOR THE IDG, AN OIL SERVICING LINE WAS SECURED AT A B-NUT. FOR THE APU, OIL WAS FOUND LEAKING AT THE BEARING SEAL CAVITY DRAIN. THE APU WAS REMOVED & REPLACED. LEAK CHECK AND OPS CHECK GOOD.