-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Labels
Triage-neededTriage needed by Cloud Shell teamTriage needed by Cloud Shell teambugSomething isn't workingSomething isn't working
Description
To Reproduce
The mismatched versions are preventing all of the modules from loading. If you load the Microsoft.Graph.Applications module first all of the other will fail because they are on an older version.
Import-Module Microsoft.Graph.Applications
Import-Module Microsoft.Graph.Groups
Observed Behavior
Below is the error when attempting to import the 2.26.1 versions after the 2.27.0 module is loaded.
Import-Module: Could not load file or assembly 'Microsoft.Graph.Authentication, Version=2.26.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Assembly with same name is already loaded
Below will show the mismatched versions
Get-Module 'Microsoft.Graph.*' -ListAvailable
Expected behavior
The expected behavior is that you can load all of the installed graph modules.
Is this specific to Cloud Shell?
This is a cloud shell only issue because it is the modules that are installed by default.
Interface information
How are you accessing Cloud Shell - https://portal.azure.com
Edge on Windows 11
Additional context
The Microsoft.Graph.Applications module is on version 2.27.0. All others are on version 2.26.1.
Copilot
Metadata
Metadata
Assignees
Labels
Triage-neededTriage needed by Cloud Shell teamTriage needed by Cloud Shell teambugSomething isn't workingSomething isn't working