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,

9 Upvotes

31 comments sorted by

View all comments

Show parent comment

1

u/Modify- Feb 12 '26

Connecting using a ServicePrincipal with a Secret, Certificate or an AccessToken an option? You could also use Get-AzAccessToken (from the AZ.Accounts module)
for a specific resource, not just Azure. Good luck.