I am creating a runbook to gather information from Azure, using the AzureAD PowerShell module. If I run the script from the PowerShell console it works fine, but when I run it from the runbook it errors out with
The term 'Connect-AzureAD' is not recognized as the name of a cmdlet...
Any help would be appreciated.