Forum Discussion
heinzelrumpel
Mar 28, 2025Brass Contributor
MGraph suddenly stops working
PS C:\Windows> Get-MGUser -All Get-MGUser : InteractiveBrowserCredential authentication failed: In Zeile:1 Zeichen:1 + Get-MGUser -All + ~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecif...
LainRobertson
Mar 31, 2025Silver Contributor
Hi heinzelrumpel,
From your description, it doesn't sound like you've done anything wrong.
You could check the Application log in Event Viewer to see if there's a more detailed breakdown of the error(s).
I'd also check that you do not have multiple differing versions of the same modules installed - which can happen if you only every run Install-Module and Updates-Module.
You can check using:
Get-Module -ListAvailable -Name "Microsoft.Graph.*" | Select-Object -Property Scope, Version, Name | Sort-Object -Property Name, Version;
If you find you do have duplicate modules, you will want to remove the older version. Or, you could just remove them all and then reinstall the ones you need.
But this is just a generic tip since I haven't seen that error before nor can I reproduce it using the module versions I am currently using.
Cheers,
Lain