System exception at initialization: You are not authorized! Error code: 0 at Source: UiPath.System.Activities

Nevermind, I found the issue. The problem was the activity after Excel(Log messages saved the day haha).

The activity that caused the issue was “Get queue items”. I forgot that the migration to modern folder probably changed how the process what executed.

Solution: I gave the unattended user a different role and now it works great!