Skip to content

Microsoft.Graph.DeviceManagement.Actions Module Requirements Incompatible with Latest SDK Versions #3182

@uta-sheppardpj

Description

@uta-sheppardpj

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

  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 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions