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\220.127.116.11\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.