r/PowerShell • • Feb 12 '26

Powershell Studio 2024 and Graph 2.34

Hi,

I am experiencing an issue with Connect-MgGraph interactive authentication inside PowerShell Studio.

After updating the Microsoft.Graph modules, Connect-MgGraph now uses Web Account Manager (WAM) by default on Windows.

In Visual Studio Code, the interactive authentication window appears normally. However, in PowerShell Studio, the authentication window does not appear at all.

Did someone got this issue and solved it?

Thanks,

8 Upvotes

31 comments sorted by

View all comments

Show parent comment

1

u/JoeyBE98 Feb 12 '26

You could look at redirecting the output to another stream since Information is not being surfaced. I did this on another platform that had a similar issue, and it worked, but at my desk currently

1

u/Any-Victory-1906 Feb 12 '26

How may I do that?

1

u/Any-Victory-1906 Feb 13 '26

I found another way by creating a Posh script to connect graph then from PowershellStudio, I am calling it. Its working.