Issue Logging into O365 Services via PowerShell

0
4
Asked By TechWhiz01 On

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

Answered By DevEnthusiast27 On

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.