I was trying the new feature of Power Automate Desktop to connect to SharePoint Online. And it worked perfectly fine. I was able to sync my online folders to the local system.
I migrated the code to staging and I imported the code with new user and created a new connection reference. The new user is unable to connect to SharePoint with 403 Forbidden error.
Are there some set of permission or access levels needed to enable this functionality?

When running the same from a cloud flow, the error is:
