r/PowerShell • u/chiron3636 • Feb 26 '26
Question PS/Code unable to login via Powershell
When connecting to Connect-AzAccount or any other O365 services I'm getting
"Microsoft Edge is unable to launch child processes due to a Group Policy. If Microsoft Edge is running as administrator* please try running edge delevated"
*I am launching Code or PS as admin with my split admin account as your supposed to.
When it launches edge to authenticate my account
Not sure if its something machine specific or an issue with wider environment - nobody else seems able to replicate and it was all working a week or so ago.
Dr google hasn't been particularly helpful but I'm leaning towards a defender issue.
Just want to confirm if anyone else has seen this at all or can suggest a work around
Getting a funky error when using VScode and Powershell (ISE and standard)
Not sure if its something machine specific or an issue with wider environment - nobody else seems able to replicate
View all comments
Show parent comment
1
u/BlackV Mar 03 '26
I dispute that 100%, Id say easier cause you can ignore issues by elevating them away
both
and
work without needing elevation, my account has 0 admin rights so I couldn't elevate if i wanted to (separate admin account), if you are already running code elevated, then it could actually be the cause of the issue
I thought the article was linked already, I'll see what I can find again