MSAL.PS
MSAL.PS copied to clipboard
Import-Module : Could not load file or assembly 'file:///C:\Program Files\WindowsPowerShell\Modules\MSAL.PS\4.37.0.0\Microsoft.Identity.Client.4.37.0\net45\Microsoft.Identity.Client.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
We have migrated from ADAL to MSAL as per update from MS that they are planning to depreciate ADAL. However, I have observed occasionally that importing MSAL.PS module in powershell leads to the titled issue and can't seem to figure out what might be missing. I have tried rebooting the machine several times, installing pending Windows update but no luck.
Would appreciate any solution around this. Thanks!