I'll have a test next time I'm on the laptop. It's important to note that logging will have ended after the Close-ADTSession call, so we can't rely on the log to see what's going on. You should be testing locally outside of Intune before you package up the app.