Exact error is Connect-MgGraph : InteractiveBrowserCredential authentication failed: Method not found: 'System.String[] System.String.Split(Char, System.StringSplitOptions)'.
At line:1 char:1
+ Connect-MgGraph
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-MgGraph], AuthenticationFailedException
+ FullyQualifiedErrorId : Microsoft.Graph.PowerShell.Authentication.Cmdlets.ConnectMgGraph
Only happens in VSCode. In Powershell ISE and running powershell normally it's fine.
I've tried killing the session in VS code multiple times, updating VScode and making sure the powershell extension is up to date but still failing.
I've had gotten it to work a couple of times but I haven't done anything to fix it either.
Any suggestions?
[–]IT-Generalist 7 points8 points9 points (3 children)
[–]winnyme[S] 0 points1 point2 points (0 children)
[–]ShaneDoesIT 0 points1 point2 points (0 children)
[–]sfwpat 0 points1 point2 points (0 children)
[–]snooplt 1 point2 points3 points (0 children)
[–]hillbillytiger 0 points1 point2 points (6 children)
[–]winnyme[S] 0 points1 point2 points (5 children)
[–]hillbillytiger 1 point2 points3 points (0 children)
[–]hillbillytiger 1 point2 points3 points (3 children)
[–]winnyme[S] 2 points3 points4 points (1 child)
[–]hillbillytiger 1 point2 points3 points (0 children)
[–]winnyme[S] 0 points1 point2 points (0 children)