Execute Program with least privilege
Please incorporate the option to execute a Program without elevation (least amount of privileges).
We sometimes receive requests to automate some process via Configuration Manager. This is frequently done by creating a Package with a Program that executes a script.
When automating the OneDrive sync client (or various other commands / programs), a simple script works well.
When the same script is executed with elevation, it doesn't work as expected.
Configuration Manager elevates the session when the currently logged on user has admin privileges on the machine.
Some troubleshooting is required to find the root cause. After that, additional scripting, testing and verification is needed to make the script work as expected.