- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Automate Hybrid Processes Using Azure Automation
This hands-on lab walks through the process of onboarding a hybrid runbook worker and configuring hybrid process automation.

Lab Info
Table of Contents
-
Challenge
Create an Active Directory Domain Services (AD DS) User Account, and Delegate Permissions
- Create an AD DS user account that can be used to automate the process of disabling inactive accounts.
- Delegate the required permissions using the principle of least privilege.
-
Challenge
Create an Azure Automation Credential
- Create an Azure Automation credential with the login details of the account you created in AD DS.
-
Challenge
Create a Hybrid Worker Group, and Onboard a Hybrid Worker
- Create a hybrid worker group, and onboard
BRAHW1
as a hybrid worker.
- Create a hybrid worker group, and onboard
-
Challenge
Create the Runbook
- Create a runbook named
Disable-InactiveADAccounts
with the following PowerShell script.
- Create a runbook named
-
Challenge
Test the Runbook
- Test the runbook using the Test Pane.
-
Challenge
Start the Runbook
- Remove the
WhatIf
parameter from the script. - Save and publish the runbook.
- Start the runbook, and observe the results.
- Remove the
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.