I'm experiencing a problem when trying to connect to Azure services or any O365 tools using PowerShell. Every time I attempt to use the Connect-AzAccount command, I get the error: "Microsoft Edge is unable to launch child processes due to a Group Policy. If Microsoft Edge is running as administrator, please try running edge elevated." It's worth mentioning that I'm running PowerShell and Visual Studio Code with administrator privileges, using a split admin account as recommended. This issue seems specific to my machine as others haven't encountered it, and it was functioning fine about a week ago. I've done some searching online but haven't found much. I'm starting to suspect it might be related to an issue with Windows Defender. Has anyone else dealt with this error or have any workarounds?
1 Answer
It sounds like a group policy issue to me, or possibly something related to your application management policies. Have you considered using the 'devicecode' parameter as a workaround to bypass this error? It might allow you to authenticate without launching Edge.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically