Forum Discussion
Dominic Horne
Nov 12, 2018Brass Contributor
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 f...
TravisRoberts
Iron Contributor
Take a look at Azure Automation Hybrid Workers to run the runbook in your domain. I did a video on setting one up located here. http://www.ciraltos.com/azure-automation-hybrid-worker-setup-and-runas-account/
Mamatiye
Sep 22, 2021Copper Contributor
Hi TravisRoberts I hope you are well.
The point is I'm trying to get the list of accounts that have expired in my Active directory from runbbok, but this one doesn't work. I have followed all your steps in the video and I can't get it. Could you help me?