-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Labels
Description
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 and beyond. 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 versions of the Microsoft.Graph.Authentication module (2.26.0+) instead of requiring an older version (2.25.0).
How to reproduce
- Install the latest Microsoft.Graph.Authentication and Microsoft.Graph.DeviceManagement.Actions modules
- Remove any previous module versions
- Run
Import-Module -Name "Microsoft.Graph.DeviceManagement.Actions"
SDK Version
2.26.0 and higher
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
Import-Module : The required module 'Microsoft.Graph.Authentication' is not loaded. Load the module or remove the module from 'RequiredModules' in the file 'C:\Program Files\WindowsPowerShell\Modules\Microsoft.Graph.DeviceManagement.Actions\2.25.0\Microsoft.Graph.DeviceManagement.Actions.psd1'.
At line:1 char:1
Import-Module -Name "Microsoft.Graph.DeviceManagement.Actions"
CategoryInfo : ResourceUnavailable: (C:\Program File...nt.Actions.psd1:String) [Import-Module], Missing MemberException
FullyQualifiedErrorId : Modules_InvalidManifest,Microsoft.PowerShell.Commands.ImportModuleCommand
Configuration
- OS: Windows 11, 24H2
- Architecture: 64-bit
- PowerShell Version: 5.1.26100.2200
Other information
No response