Get-MgAuditLogSignIn missing from Microsoft.Graph.Reports and or Microsoft.Graph in Azure Runbook Powershell Runtime Environment

Victor Aroma 0 Reputation points
2025-03-04T19:35:30.07+00:00

Can anyone confirm the following...

The Get-MgAuditLogSignIn commandlet is missing from Microsoft.Graph.Reports and or Microsoft.Graph modules in Azure's Runbook Powershell Runtime Environments!

I created a working script locally but when i run it in an Azure runbook I get the following error:

The term 'Get-MgAuditLogSignIn' is not recognized as a name of a cmdlet, function, script file, or executable program.

My runtime is Powershell 7.2

I even switched to the Runtime Preview and created my own Runtime with Powershell 7.2 and or 7.4 and made sure to include Microsoft.Graph.Reports and or Microsoft.Graph in the runtime.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,357 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.