Forum Discussion
CloudJunkie
Jul 30, 2021Copper Contributor
Azure Hybrid worker not seeing installed modules
Single hybrid worker. The automation account has the AzureAD module as well as Az.Storage and AzTable installed. The hybrid worker has the same modules installed, same versions. From the context o...
hspinto
Microsoft
Jul 31, 2021Did you install those modules in the Hybrid Worker in an elevated prompt? By default, the hybrid worker job will execute in the Local System context. Therefore, PS modules must be installed system-wide. Can you check if the path C:\Program Files\WindowsPowerShell\Modules contains the required modules?
CloudJunkie
Aug 10, 2021Copper Contributor
Hi, thanks for the reply. I remoted into the server and ran GCI on that directory and I see it showing up yes. I also did install with an evelvated prompt. I just dont understand why its not seeing this module. I uninstalled and reinstalled still no luck.