-
Notifications
You must be signed in to change notification settings - Fork 192
2.26.0 Connect-MgGraph COMPLETELY BROKEN 'Could not load file or assembly System.Runtime' #3147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @aglasson sorry for the experience. I was not able to reproduce the issue as its working in both environments. ![]() Please try these steps.
|
Okay.. Updating to the latest Powershell 7 LTS (7.4.7) has fixed the problem. Thanks for the prompting to look into the This is in the release info of 2.26.0:
I guess that correlates with Powershell 7.2 LTS going EOL November last year. |
Yep. PowerShell 7.2 is built on .NET 6 and for security compliance reasons we dropped unsupported 6 and 7. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Simply running
Connect-MgGraph
with the latest version produces the following error message. I've spent an almost 2 hours trying to get this to work on my system and its had me pulling my hair out.This is on my personal computer Windows 11 also tested the same result on one of my Server 2022 VMs.
I've tried:
Just my freaking luck that I've been using and installing MgGraph for 4-5 hours today for work and after work I go to fix something for my club on my home computer and a broken update of Microsoft.Graph just so happens to have been released in that time.
If it wasn't for me having been installing MgGraph just earlier today I might not have finally thought "I'm sure the latest version of MgGraph I installed just hours ago was 2.25.0".
Expected behavior
I get an interactive logon.
How to reproduce
Install-Module -Name Microsoft.Graph
Connect-MgGraph
SDK Version
2.26.0
Latest version known to work for scenario above?
No response
Known Workarounds
Roll back to 2.25.0.
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: