-
Notifications
You must be signed in to change notification settings - Fork 215
Description
Describe the bug
I frequently have to reinstall the Graph SDK modules (both prod and beta) because after a few months, when running commands I will start getting this error -
get-mguser: The 'get-mguser' command was found in the module 'Microsoft.Graph.Users', but the module could not be loaded due to the following error: [Assembly with same name is already loaded]
For more information, run 'Import-Module Microsoft.Graph.Users'.
The only thing that I have found to be effective to resolve the issue is to run Install-Module Microsoft.Graph -AllowClobber -Force -Scope AllUsers (same for beta). Updating doesn't work and importing the module doesn't work because it is already there.
Expected behavior
expecting to just be able to run the commands
How to reproduce
n/a - seems to be random
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_