Hi XieSteven,
Based on this SetForegroundWindow API:
“An application cannot force a window to the foreground while the user is working with another window. Instead, Windows flashes the taskbar button of the window to notify the user.”
It should be not supported, but you said that this is working on Desktop, there might be some environmental variables that is affecting this behavior on your Desktop vs Laptop, however its recommended that the process that’s already on the foreground (the UWP application) should be the one that starts the new process (Edge) to avoid any issues down the line.
Thanks.