msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Microsoft.Graph.DeviceManagement.Actions Module Requirements Incompatible with 2.26.0

Open uta-sheppardpj opened this issue 9 months ago • 6 comments

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

  1. Install the latest Microsoft.Graph.Authentication and Microsoft.Graph.DeviceManagement.Actions modules
  2. Remove any previous module versions
  3. Run 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
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

uta-sheppardpj avatar Feb 25 '25 15:02 uta-sheppardpj