I have been working on this automation that generates a report from an online ticketing tool and then stores the Excel report in a folder, from where the PowerBI file has to be opened. Once open, refresh button needs to be pressed. Followed by saving the file.
While running the automation from orchestrator, my job is failing with the below error.
Use Application: pbidesktop.exe: Cannot bring the target application in foreground because the Windows session is locked.
I am running this task in a remote server in unattended mode. My all the other tasks like manipulating Excel sheets, browsing to a location in the web, etc is working. Except for PowerBI.
FYI, when I am logged in to the remote server, the process completes normally.