I have a script which runs fine in PS ISE but within UiPath it errors with this:
Invoke Power Shell: The ‘Connect-AzureAD’ command was found in the module ‘AzureAD’, but the module could not be loaded. For more information, run ‘Import-Module AzureAD’.
The script is supposed to connect to AzureAD. Running the import as suggested does not work either. Any ideas?