This hands-on lab walks through the process of onboarding a hybrid runbook worker and configuring hybrid process automation.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- 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.
- Create an Azure Automation Credential
- Create an Azure Automation credential with the login details of the account you created in AD DS.
- 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
- Create the Runbook
- Create a runbook named
Disable-InactiveADAccounts
with the following PowerShell script.
- Create a runbook named
- Test the Runbook
- Test the runbook using the Test Pane.
- Start the Runbook
- Remove the
WhatIf
parameter from the script. - Save and publish the runbook.
- Start the runbook, and observe the results.
- Remove the