Forum Discussion

Dominic Horne's avatar
Dominic Horne
Brass Contributor
Nov 12, 2018

How to - Azure Automation - Runbook - Active Directory Powershell cmdlets ?

How do run the Get-ADUser Active Directory powershell cmdlet within an Azure automation runbook ?

 

Not all our AD objects are synced to Azure AD and there is a requirement to query on-premise AD from an Azure automation runbook.

 

Error:

The term 'Get-ADUser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct
and try again.

Resources