I tried more time to connect office 365 using PowerShell script through UiPath. But I got exception:
Import-Module : The current processor architecture is: X86. The module ‘C:\Users\Iswarya.G\Documents\WindowsPowerShell\Modules\AzureAd\2.0.2.4\AzureAd.psd1’ requires the following architecture: Amd64.
I don’t know how to solve this exception. Please advise me. how to change the PowerShell bit from x86 to x64 in UiPath.
I’m also faced the same issue, but below exception was gone after changed
ProcessorArchitecture = ‘x86’ in AzureAd.psd1 file,
Exception: Import-Module : The current processor architecture is: X86. The module ‘C:\Users.…\Documents\WindowsPowerShell\Modules\AzureAd\2.0.2.4\AzureAd.psd1’ requires the following architecture: Amd64.
But now it throw the exception like dependency files (Microsoft.Open.Azure.AD.CommonLibrary.dll) are not in correct format.