You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/automation/extension-based-hybrid-runbook-worker-install.md
+41-37Lines changed: 41 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Deploy an extension-based Windows or Linux User Hybrid Runbook Worker in
3
3
description: This article tells how to deploy an extension-based Windows or Linux Hybrid Runbook Worker that you can use to run runbooks on Windows-based machines in your local datacenter or cloud environment.
4
4
services: automation
5
5
ms.subservice: process-automation
6
-
ms.date: 09/28/2021
6
+
ms.date: 03/17/2021
7
7
ms.topic: how-to
8
8
#Customer intent: As a developer, I want to learn about extension so that I can efficiently deploy Hybrid Runbook Workers.
9
9
---
@@ -571,7 +571,6 @@ To install and use Hybrid Worker extension using REST API, follow these steps. T
571
571
{
572
572
"properties": {"vmResourceId": "{VmResourceId}"}
573
573
}
574
-
575
574
```
576
575
577
576
Response of PUT call confirms if the Hybrid worker is created or not. To reconfirm, you would have to make another GET call on Hybrid worker as follows.
@@ -592,49 +591,54 @@ To install and use Hybrid Worker extension using REST API, follow these steps. T
592
591
593
592
The API call will provide the value with the key: `AutomationHybridServiceUrl`. Use the URL in the next step to enable extension on the VM.
594
593
595
-
1. Install the Hybrid Worker Extension on the VM by running the following PowerShell cmdlet
596
-
`(Required module: Az.Compute)`. Use the *properties.automationHybridServiceUrl* provided by the above API call.
597
-
```azurepowershell-interactive
594
+
1. Install the Hybrid Worker Extension on Azure VM by using the following API call.
595
+
596
+
```http
597
+
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}?api-version=2021-11-01
The Output of the above commands will confirm if the extension is successfully installed or not on the targeted VM. You can also go to the VM in the Azure portal, and check status of extensions installed on the target VM under **Extensions** tab.
616
+
```
617
+
618
+
For ARC VMs, use the below API call for enabling the extension:
611
619
612
-
1. Go to the **Portal** page of the VM and in the **Extensions** tab, you can check the status of the Hybrid Worker Extension installation.
613
-
614
-
1. Run the below API call to start executing jobs on the new Hybrid worker.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}?api-version=2021-05-20
621
622
623
+
```
624
+
622
625
The request body should contain the following information:
Response of the *PUT* call will confirm if the extension is successfully installed or not on the targeted VM. You can also go to the VM in the Azure portal, and check status of extensions installed on the target VM under **Extensions** tab.
641
+
638
642
639
643
## Manage Role permissions for Hybrid Worker Groups and Hybrid Workers
0 commit comments