Rexxer

Some tips for me and other

Microsoft.Graph doesn’t work + Something went wrong

I tried to use Connect-MgGraph (version 2.34.0) or Connect-MsOnline but got the error “Something went wrong”.

Version 2.26.1 works.

The fix:

  1. Reinstall module to version 2.26.1
  2. Use the command: Connect-MgGraph -UseDeviceAuthentication
# Close all PS sessions first
Uninstall-Module Microsoft.Graph -AllVersions -Force
Uninstall-Module Microsoft.Graph.Authentication -AllVersions -Force
Install-Module Microsoft.Graph -RequiredVersion 2.26.1

Comments are currently closed.