Configuring Azure Automation Hybrid Worker on an offline VM

Yu-Jeong Seo 170 Reputation points
2024-11-25T07:50:18.02+00:00

I want to configure Azure Automation Hybrid Worker on a VM that is not connected to the internet.

In this case, I plan to move the installed path of PowerShell 7 from another PC. To install Azure PowerShell, I will use the command Install-Module -Name Az -Repository PSGallery -Force on a PC with internet access, and then copy and paste the installed module's path to the offline VM. Will this satisfy my requirements?

Also, can Azure Automation Hybrid Worker be used on a VM with all internet access denied? Or if I attach the Automation service tag to the NSG and allow outbound traffic, will that make it possible?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,272 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,348 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,666 questions
0 comments No comments
{count} votes

Accepted answer
  1. Deepanshukatara-6769 11,625 Reputation points
    2024-11-25T09:02:13.2733333+00:00

    Hello , Welcome to MS Q&A

    Azure Automation Hybrid Runbook Worker requires internet access to communicate with Azure Automation services. If all internet access is denied on a VM, the Hybrid Runbook Worker will not be able to function properly, as it needs to connect to various Azure endpoints.

    However, if you attach the Automation service tag to the Network Security Group (NSG) and allow outbound traffic, it will enable the necessary communication with Azure Automation services. This setup will allow the Hybrid Runbook Worker to function correctly even if other internet access is restricted.

    References:

    Please let us know if any question

    Kindly accept answer if it helps

    Thanks
    Deepanshu


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.