Forum Discussion
Dodge-1350
Apr 13, 2021Brass Contributor
Azure Automation - Hybrid Worker - Connect-Azure AD
Is there a way to use Connect-AzureAD in Azure Automation when integrating a hybrid worker? I have tried multiple ways to try to get it to work and have had zero success. What is best practice for ...
hspinto
Microsoft
Apr 14, 2021Dodge-1350, yes, the error you're getting means you don't have the required module installed. You just have to run Install-Module -Name AzureADPreview from an elevated PowerShell in your Hybrid Worker. You can find instructions here.
Dodge-1350
Apr 15, 2021Brass Contributor
hspinto - perfect, thank you very much for your help and experience. Much appreciated!