Hi @sachindhyani
The issue could be because of resolution issue in unattended mode.
To overcome the same please perform the following steps:-
1) Navigate to the path C:\Program Files (x86)\Power Automate Desktop
2) Look out for a file as shown in the image

3) Open the file(Run as administrator) in Notepad
4)Look out for the screen resolution tag/settings options in the file
(Refer to the snapshot )

5)Change the highlighted value from false to true

6) Make sure to save the file and restart PA Desktop Application.
7) Don't forget to sign-out the user and check if it works 😁
Hope this helps
Shivlay