Graph Modules do not appear in get-azautomationmodule command

Michael Lopez 5 Reputation points
2024-03-15T19:23:21.6633333+00:00

Hello,

I am working with the Graph Modules within the Azure runbooks we have. I am noticing that the modules appear in the portal but when they are queried by PowerShell they do not appear. There doesn't seem to be any additional flags needed for this to work so I am at a lost. I would like for this to work so we can effectively query and update/or install modules as needed.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,392 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,191 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,309 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Claudia Dos Santos Haz (CONCENTRIX CORPORATION) 1,010 Reputation points Microsoft Vendor
    2024-03-19T15:44:29.13+00:00

    Hi @Michael Lopez,

    Welcome to Microsoft Q&A and thanks for reaching out.

    https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/1449.

    Appears this is a PowerShell 5.1 limitation but there are some proposed workarounds.

    ·         Use PowerShell 7+

    ·         Only load the Microsoft.Graph modules you template needs

    ·         Set $maximumfunctioncount to its max value of 32768.

    Best regards,