Hi there, I’m trying to do some Phone Number management with EasyMorph. But am running into an error.
I’m currently stuck while trying to run a powershell command.
Error: Could not load file or assembly 'Microsoft.IdentityModel.Tokens, Version=6.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
This command works fine in normal Powershell, but refuses to run through EasyMorph
It appears that there is a conflict of assembly versions between one you expect when command is being run in powershell console and one that is already loaded in EasyMorph AppDomain.
To workaround this, you can create powershell script file (for example, manage-phones.ps1) and run it as powershell command using cmd /C powershell "path-to-my-script\manage-phones.ps1"