We have an unattended Desktop Automation that runs at midnight every night, we are using the Machine Gateway, and we have a production service account that is licensed that will be running the automations.
To connect to the VM, we are required to use an account on the VM that has admin privileges as per https://docs.microsoft.com/en-us/power-automate/desktop-flows/setup#prerequisites.
This means the production service account needs to be added to the Production VM as admin, and the username and password for the Production service account shared with whoever creates the Desktop connection authentication the first time in the Production Environment, cloud flow.
Having to share the password for a production account on a production VM is an issue with enterprise security.
What other options are available, or what process do you use to comply with security concerns around sharing passwords?