You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import Graph module fails with Could not load file or assembly 'Azure.Core, Version=1.39.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8' or one of its dependencies. The system cannot find the file specified
#2880
</details>
### Configuration
Azure runbook using both PowerShell 7 and 5
### Other information
I have other environments running 2.20.0 that are working as expected.
Error output
Error: Import-Module : Could not load file or assembly 'Azure.Core, Version=1.39.0.0, Culture=neutral,
PublicKeyToken=92742159e12e44c8' or one of its dependencies. The system cannot find the file specified.
At line:17 char:1
+ Import-Module Microsoft.Graph.Authentication -Debug
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
Error: Connect-MgGraph : The 'Connect-MgGraph' command was found in the module 'Microsoft.Graph.Authentication', but the
module could not be loaded. For more information, run 'Import-Module Microsoft.Graph.Authentication'.
At line:18 char:1
+ Connect-MgGraph -Identity -NoWelcome
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Connect-MgGraph:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
The text was updated successfully, but these errors were encountered:
@kpinel I wasn't able to reproduce your issue with 2.21.0. Could you try updating to the latest version and let us know if you are still experiencing the same issue.
I believe it's related to the Exchange 3.5.1 module and have had to roll back my Exchange module to 3.5.0 and Graph is working again.
Slowly bringing my environments up to 2.22.0 but that hasn't resolved the issue. I'll take this across to the Exchange team
Describe the bug
Log into Graph in Azure Runbook
Expected behavior
Log into Graph
How to reproduce
SDK Version
2.21.0
Latest version known to work for scenario above?
2.20.0
Known Workarounds
Roll back modules to 2.20.0
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: