msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Connect to Graph fails in Windows PowerShell ISE

Open bpcastilho opened this issue 6 years ago • 3 comments

I was trying to use the MS Graph module in Windows PowerShell ISE, but when I ran the cmd: Connect-Graph -Scopes "User.Read"

image

AB#7409

bpcastilho avatar Jun 02 '20 14:06 bpcastilho

yes PowerShell ISE does not support the Console class so we recommend not using ISE right now.

ddyett avatar Jun 04 '20 19:06 ddyett

I had to run the Connect-Graph command outside the ISE first, then it would work in ISE afterwards.

jagrock avatar Jun 08 '20 22:06 jagrock

There is still no output in PowerShell ISE with the latest version of Microsoft.Graph.* modules available from PowerShellGallery.

image

But PS module is probly not built against new SDK yet?

o-l-a-v avatar May 27 '21 09:05 o-l-a-v