-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.Graph.DeviceManagement.Actions Module Requirements Incompatible with 2.26.0 #3182
Comments
Hi @uta-sheppardpj I wasn't able to reproduce your issue. However, I think you are experiencing module conflicts. Please uninstall all graph versions, manually delete module folders from the module installation directory and run ![]() |
I have same issue, 2.26 and 2.26.1 versions. Steps to reproduce:
|
We encountered the same issue. We originally needed the Microsoft.Graph.DeviceManagement.Actions module for its Sync-MgDeviceManagementManagedDevice cmdlet, which was unavailable in its parent module, Microsoft.Graph.DeviceManagement v2.25.0. However, it is now included in Microsoft.Graph.DeviceManagement v2.26.0, meaning we technically no longer need Microsoft.Graph.DeviceManagement.Actions. That said, this does not prevent our current automation scripts from failing when attempting to load the module. Additionally, not all of its commands appear to have been moved over yet, so these still need to be addressed. |
Our script automation ensures that previous versions are uninstalled and removed from the device, and this issue persists even after reboot. I have not yet confirmed if this issue persists in version 2.26.1, but if this module is no longer being updated, there should be mention of such on the associated Learn article. |
@timayabi2020 The following code used to work without the -AllowClobber switch on a fresh device with no previously installed modules:
However, it is now failing at the
|
Describe the bug
The RequiredModules for the Microsoft.Graph.DeviceManagement.Actions .psd1 file is still requiring version 2.25.0 for Microsoft.Graph.Authentication after the latest release of version 2.26.0. Furthermore, there are no updates to version 2.26.0 for the Microsoft.Graph.DeviceManagement.Actions module, unlike other adjacent modules for DeviceManagement.
Expected behavior
The Microsoft.Graph.DeviceManagement.Actions module should be compatible with the latest version of the Microsoft.Graph.Authentication module (2.26.0) instead of requiring an older version (2.25.0).
How to reproduce
Import-Module -Name "Microsoft.Graph.DeviceManagement.Actions"
SDK Version
2.26.0
Latest version known to work for scenario above?
2.25.0
Known Workarounds
Keep older versions of the Authentication module
Debug output
Click to expand log
Configuration
Other information
No response
The text was updated successfully, but these errors were encountered: